blob: 61b8de1b25caa22d6f49a40603d513d49686c098 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
# 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"
|