Using "1" with getVar is bad coding style and "True" is preferred. This patch is a sed over the meta directory of the form: sed \ -e 's:\(\.getVar([^,()]*, \)1 *):\1True):g' \ -e 's:\(\.getVarFlag([^,()]*, [^,()]*, \)1 *):\1True):g' \ -i `grep -ril getVar *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
868 B
Text
24 lines
868 B
Text
include conf/distro/include/default-providers.inc
|
|
include conf/distro/include/default-versions.inc
|
|
include conf/distro/include/default-distrovars.inc
|
|
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
|
|
|
|
# Allow single libc distros to disable this code
|
|
TCLIBCAPPEND ?= "-${TCLIBC}"
|
|
TMPDIR .= "${TCLIBCAPPEND}"
|
|
|
|
CACHE = "${TMPDIR}/cache/${TCMODE}-${TCLIBC}${@['', '/' + str(d.getVar('MACHINE', True))][bool(d.getVar('MACHINE', True))]}${@['', '/' + str(d.getVar('SDKMACHINE', True))][bool(d.getVar('SDKMACHINE', True))]}"
|
|
|
|
USER_CLASSES ?= ""
|
|
PACKAGE_CLASSES ?= "package_ipk"
|
|
INHERIT_INSANE ?= "insane"
|
|
INHERIT_DISTRO ?= "debian devshell sstate license"
|
|
INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} ${INHERIT_INSANE} ${INHERIT_DISTRO}"
|
|
|