summaryrefslogtreecommitdiff
path: root/contrib/local.conf
blob: 7bfed061f6786aafbecded631447ce67ec5d7b86 (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
# CONF_VERSION is increased each time build/conf/ changes incompatibly
CONF_VERSION = "1"

# 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"