51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
BB_NUMBER_THREADS ?= "4"
|
|
PARALLEL_MAKE ?= "-j 4"
|
|
PACKAGE_CLASSES ?= "package_rpm"
|
|
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
|
|
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"
|