[oe] Initialize PACKAGE_EXTRA_ARCHS if not done in tune files.
Khem Raj
raj.khem at gmail.com
Sun Aug 9 09:13:33 UTC 2009
hi
Building for titan machine I was hitting this error. Found out that
PACKAGE_EXTRA_ARCHS is not defined in tune-sh4.inc
Would it be ok if we initialize it conditionally to empty string in
conf/bitbake.conf
File "/home/kraj/work/oe/bitbake/lib/bb/data_smart.py", line 70, in
python_sub
s = eval(code)
File "<string>", line 1
" ".join( [ ( "/etc/opkg/%s-feed.conf" % feed ) for feed in "all
${PACKAGE_EXTRA_ARCHS
^
SyntaxError: EOL while scanning string literal
Something like below. Does anybody sees any issues doing this ?
--- a/conf/bitbake.conf
+++ b/conf/bitbake.conf
@@ -107,6 +107,7 @@ EXEEXT = "${HOST_EXEEXT}"
BASE_PACKAGE_ARCH = "${HOST_ARCH}"
PACKAGE_ARCH = "${BASE_PACKAGE_ARCH}"
+PACKAGE_EXTRA_ARCHS ?= ""
MACHINE_ARCH = "${@[bb.data.getVar('HOST_ARCH', d, 1),
bb.data.getVar('MACHINE', d, 1)][bool(bb.data.getVar('MACHINE', d,
1))]}"
PACKAGE_ARCHS = "all any noarch ${TARGET_ARCH} ${PACKAGE_EXTRA_ARCHS}
${MACHINE}"
More information about the Openembedded-devel
mailing list