# CONF_VERSION is increased each time build/conf/ changes incompatibly CONF_VERSION = "1" MTBSP ??= "mtbsp-at91" # Use MultiTech mLinux distribution DISTRO = "mlinux" MACHINE ?= "mtcdt" # Where to store downloaded sources DL_DIR = "${TOPDIR}/downloads" # Where to save shared state SSTATE_DIR = "${TOPDIR}/build/sstate-cache" # bitbake cache location PERSISTENT_DIR = "${TOPDIR}/build/cache" # build output TMPDIR = "${TOPDIR}/build/tmp" # Which files do we want to parse: BBFILES ?= "${TOPDIR}/layers/openembedded-core/meta/recipes-*/*/*.bb" # Go through the Firewall #HTTP_PROXY = "http://:/" # Uncomment this to remove unpacked source and intermediate work # after successfully building a package. # Saves a LOT of disk space, but leaving work around is useful for debugging. INHERIT += "rm_work" # skip parsing of masked files BBMASK = "" # Make use of SMP: # PARALLEL_MAKE specifies how many concurrent compiler threads are spawned per bitbake process # BB_NUMBER_THREADS specifies how many concurrent bitbake tasks will be run BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()*2}" PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()*2}" # Don't generate the mirror tarball for SCM repos, the snapshot is enough BB_GENERATE_MIRROR_TARBALLS = "0" # Disable build time patch resolution. This would lauch a devshell # and wait for manual intervention. We disable it. PATCHRESOLVE = "noop" # enable local PR server PRSERV_HOST = "localhost:0" # enable buildhistory for images INHERIT += "buildhistory" BUILDHISTORY_COMMIT = "0" BUILDHISTORY_FEATURES = "image" IMAGE_FSTYPES =+ "jffs2 tar.gz" # OpenJDK Java runtime # Uncomment for a bigger image with java. # Java requires using tftp or a flash drive # for updating. # IMAGE_INSTALL += "openjdk-8" # OpenJDK with JamVM VM (Multi-Tech default) # IMAGE_INSTALL += "jamvm" # OpenJDK with CACAO VM (run with 'java -cacao') # IMAGE_INSTALL += "openjdk-7-vm-cacao" # OpenJDK Zero VM (run with 'java -zero') # IMAGE_INSTALL += "openjdk-7-vm-zero" PACKAGECONFIG_append_pn-boost = " python" OVERRIDES .= ":${MTBSP}" # Make builds reproducible BUILD_REPRODUCIBLE_BINARIES = "1" export PYTHONHASHSEED = "0" export PERL_HASH_SEED = "0" export TZ = 'UTC' export SOURCE_DATE_EPOCH ??= "1520598896" REPRODUCIBLE_TIMESTAMP_ROOTFS ??= "1520598896" # Add host utilities needed for Redpine driver unpack to the whitelist HOSTTOOLS += "xz cmake" # Enable CVE check for all images INHERIT += "${@'cve-check' if d.getVar('MTS_CHECK_CVES') == '1' else ''}" CVE_CHECK_REPORT_PATCHED = "0"