Skip to contentSkip to conversation

Fix for earlier buildtools fix

PATCH New Paul Eggleton 1 participant 2 messages Dec 11, 2015

lore
Share & tools
lore
#0 lore raw

cover Fix for earlier buildtools fix

Hmm, turns out that whilst my earlier buildtools fix did fix the bug, in question, it still wasn't quite right. Here's the bit I missed doing.

The following changes since commit 192da885e92d3b163b9c4e6b8151c9ecc6062b14:

build-appliance-image: Update to master head revision (2015-12-09 08:49:13 +0000)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib paule/buildtools-fix2
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/buildtools-fix2

Paul Eggleton (1):
nativesdk-buildtools-perl-dummy: properly set PACKAGE_ARCH

 meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 2 --
 1 file changed, 2 deletions(-)
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 nativesdk-buildtools-perl-dummy: properly set PACKAGE_ARCH

Turns out I did a silly thing in OE-Core revision 9b1831cf4a2940dca1d23f14dff460ff5a50a520 and forgot to remove the explicit setting of PACKAGE_ARCH outside of the anonymous python function; the original bug was apparently fixed but the functionality of allarch.bbclass was being disabled because it was able to see that PACKAGE_ARCH was not set to "all" - which was what I was trying to ensure.

---
 meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb | 2 --
 1 file changed, 2 deletions(-)
meta/recipes-core/meta/nativesdk-buildtools-perl-dummy.bb +0 -2
index 6fb2b64..23c0a5c 100644
@@ -12,8 +12,6 @@ python() {
     d.setVar('PACKAGE_ARCH', 'buildtools-dummy-${SDKPKGSUFFIX}')
 }
 
-PACKAGE_ARCH = "buildtools-dummy-${SDKPKGSUFFIX}"
-
 PERLPACKAGES = "nativesdk-perl \
                 nativesdk-perl-module-file-path"
 
Signature · 1 line
2.5.0