]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
Update the minimal base.bbclass & bitbake.conf.
authorChris Larson <clarson@mvista.com>
Thu, 23 Jul 2009 17:44:55 +0000 (10:44 -0700)
committerChris Larson <clarson@mvista.com>
Thu, 23 Jul 2009 17:44:55 +0000 (10:44 -0700)
I could argue in favor of the removal of these entirely, as their usefulness
is limited, and I've yet to see anyone use bitbake for anything without using
OE as a base.  It's something to consider, anyway, but this at least makes
them parse without complaining.

Signed-off-by: Chris Larson <clarson@mvista.com>
classes/base.bbclass
conf/bitbake.conf

index cfb82a41cb8d57c237a20b7d4315a2a8c3def11d..bd637e517d6aceaec13491e319703235936a70e8 100644 (file)
@@ -41,7 +41,7 @@ bbdebug() {
                exit 1
        }
 
-       test ${@bb.msg.debug_level} -ge $1 && {
+       test ${@bb.msg.debug_level['default']} -ge $1 && {
                shift
                echo "DEBUG:" $*
        }
index 19a3fe8ef8226d20b8a7a89c9d78c7236bd48d6b..e11dabcf250c9774183310f13acd279f995b4575 100644 (file)
@@ -38,6 +38,7 @@ MKTEMPCMD = "mktemp -q ${TMPBASE}"
 MKTEMPDIRCMD = "mktemp -d -q ${TMPBASE}"
 OVERRIDES = "local:${MACHINE}:${TARGET_OS}:${TARGET_ARCH}"
 P = "${PN}-${PV}"
+PERSISTENT_DIR = "${TMPDIR}/cache"
 PF = "${PN}-${PV}-${PR}"
 PN = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[0] or 'defaultpkgname'}"
 PR = "${@bb.parse.BBHandler.vars_from_file(bb.data.getVar('FILE',d),d)[2] or 'r0'}"