2011-05-10 13:04:57 +00:00
|
|
|
include conf/distro/include/default-providers.inc
|
|
|
|
include conf/distro/include/default-versions.inc
|
2011-05-10 13:41:05 +00:00
|
|
|
include conf/distro/include/default-distrovars.inc
|
2011-05-10 13:04:57 +00:00
|
|
|
include conf/distro/include/world-broken.inc
|
|
|
|
|
|
|
|
TCMODE ?= "default"
|
|
|
|
require conf/distro/include/tcmode-${TCMODE}.inc
|
|
|
|
|
|
|
|
TCLIBC ?= "eglibc"
|
|
|
|
require conf/distro/include/tclibc-${TCLIBC}.inc
|
|
|
|
|
2011-05-17 10:48:29 +00:00
|
|
|
# Allow single libc distros to disable this code
|
|
|
|
TCLIBCAPPEND ?= "-${TCLIBC}"
|
2011-08-05 19:56:17 +00:00
|
|
|
TMPDIR .= "${TCLIBCAPPEND}"
|
2011-05-17 10:48:29 +00:00
|
|
|
|
Convert to use direct access to the data store (instead of bb.data.*Var*())
This is the result of running the following over the metadata:
sed \
-e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \
-e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \
-e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \
-e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \
-i `grep -ril bb.data *`
(From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-09 15:00:01 +00:00
|
|
|
CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE', 1))][bool(d.getVar('MACHINE', 1))]}${@['', '/' + str(d.getVar('SDKMACHINE', 1))][bool(d.getVar('SDKMACHINE', 1))]}"
|
2011-05-10 13:04:57 +00:00
|
|
|
|
|
|
|
USER_CLASSES ?= ""
|
|
|
|
PACKAGE_CLASSES ?= "package_ipk"
|
|
|
|
INHERIT_INSANE ?= "insane"
|
|
|
|
INHERIT_DISTRO ?= "debian devshell sstate license"
|
|
|
|
INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO}"
|
|
|
|
|