conf: Add local.conf and bblayer.conf sample files
This commit is contained in:
parent
3465456207
commit
8f73724b4a
|
|
@ -0,0 +1,25 @@
|
||||||
|
# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
|
||||||
|
# changes incompatibly
|
||||||
|
LCONF_VERSION = "7"
|
||||||
|
|
||||||
|
BBPATH = "${TOPDIR}"
|
||||||
|
BBFILES ?= ""
|
||||||
|
|
||||||
|
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
|
||||||
|
|
||||||
|
BBLAYERS ?= " \
|
||||||
|
${YOCTOROOT}/meta \
|
||||||
|
${YOCTOROOT}/meta-poky \
|
||||||
|
${YOCTOROOT}/meta-yocto-bsp \
|
||||||
|
${YOCTOROOT}/meta-netmodule-bsp \
|
||||||
|
${YOCTOROOT}/meta-netmodule-distro \
|
||||||
|
${YOCTOROOT}/meta-openembedded/meta-python \
|
||||||
|
${YOCTOROOT}/meta-openembedded/meta-oe \
|
||||||
|
${YOCTOROOT}/meta-openembedded/meta-networking \
|
||||||
|
${YOCTOROOT}/meta-openembedded/meta-filesystems \
|
||||||
|
${YOCTOROOT}/meta-updater \
|
||||||
|
"
|
||||||
|
BBLAYERS_NON_REMOVABLE ?= " \
|
||||||
|
${YOCTOROOT}/meta \
|
||||||
|
${YOCTOROOT}/meta-yocto \
|
||||||
|
"
|
||||||
|
|
@ -0,0 +1,13 @@
|
||||||
|
|
||||||
|
### Shell environment set up for builds. ###
|
||||||
|
|
||||||
|
You can now run 'bitbake <target>'
|
||||||
|
|
||||||
|
Common targets are:
|
||||||
|
netmodule-linux-image-minimal
|
||||||
|
netmodule-linux-image
|
||||||
|
netmodule-linux-image-dev
|
||||||
|
meta-toolchain
|
||||||
|
meta-ide-support
|
||||||
|
|
||||||
|
You can also run generated qemu images with a command like 'runqemu qemux86'
|
||||||
|
|
@ -0,0 +1,52 @@
|
||||||
|
BB_NUMBER_THREADS ?= "4"
|
||||||
|
PARALLEL_MAKE ?= "-j 4"
|
||||||
|
PACKAGE_CLASSES ?= "package_rpm"
|
||||||
|
USER_CLASSES ?= "buildstats"
|
||||||
|
PATCHRESOLVE = "noop"
|
||||||
|
BB_DISKMON_DIRS = "\
|
||||||
|
STOPTASKS,${TMPDIR},1G,100K \
|
||||||
|
STOPTASKS,${DL_DIR},1G,100K \
|
||||||
|
STOPTASKS,${SSTATE_DIR},1G,100K \
|
||||||
|
STOPTASKS,/tmp,100M,100K \
|
||||||
|
ABORT,${TMPDIR},100M,1K \
|
||||||
|
ABORT,${DL_DIR},100M,1K \
|
||||||
|
ABORT,${SSTATE_DIR},100M,1K \
|
||||||
|
ABORT,/tmp,10M,1K"
|
||||||
|
ASSUME_PROVIDED += "libsdl-native"
|
||||||
|
CONF_VERSION = "1"
|
||||||
|
IMAGE_FEATURES_append = " debug-tweaks"
|
||||||
|
|
||||||
|
INHERIT += "rm_work"
|
||||||
|
|
||||||
|
ERROR_QA_remove += "version-going-backwards"
|
||||||
|
WARN_QA_append += "version-going-backwards"
|
||||||
|
|
||||||
|
INHERIT += "buildhistory"
|
||||||
|
BUILDHISTORY_COMMIT = "1"
|
||||||
|
BUILDHISTORY_COMMIT_AUTHOR = "Mr Jenkins <ramon.moesching@netmodule.com>"
|
||||||
|
|
||||||
|
# Mirror GIT repo in download folders
|
||||||
|
BB_GENERATE_MIRROR_TARBALLS = "1"
|
||||||
|
|
||||||
|
# Add licences file to the rootfs
|
||||||
|
COPY_LIC_MANIFEST = "1"
|
||||||
|
COPY_LIC_DIRS = "1"
|
||||||
|
LICENSE_CREATE_PACKAGE = "1"
|
||||||
|
|
||||||
|
INHERIT += "buildstats-summary"
|
||||||
|
|
||||||
|
|
||||||
|
YOCTOROOT = "${@os.path.abspath(os.path.join("${TOPDIR}", os.pardir))}"
|
||||||
|
|
||||||
|
SSTATE_DIR ?= "${HOME}/yocto-share/sstate-cache"
|
||||||
|
DL_DIR ?= "${HOME}/yocto-share/downloads"
|
||||||
|
BUILDHISTORY_DIR = "${HOME}/yocto-share/buildhistory"
|
||||||
|
|
||||||
|
TMPDIR = "${YOCTOROOT}/shared-build/tmp"
|
||||||
|
|
||||||
|
|
||||||
|
### Environment variables needed to build
|
||||||
|
#MACHINE = "am335x-nmhw21"
|
||||||
|
#DISTRO = "netmodule-linux" / "netmodule-linux-ostree"
|
||||||
|
#OSTREE_BRANCHNAME = "${MACHINE}-vcu"
|
||||||
|
#OSTREE_OSNAME = "hancock-os"
|
||||||
Loading…
Reference in New Issue