From 3fbbc44cfd0d68c67bda0f6180773922431cca0e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 17 Sep 2009 13:18:48 +0100 Subject: nativesdk/package_ipk.bbclass: Clean up sdk package architectures Signed-off-by: Richard Purdie --- meta/classes/nativesdk.bbclass | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'meta/classes/nativesdk.bbclass') diff --git a/meta/classes/nativesdk.bbclass b/meta/classes/nativesdk.bbclass index 964d39955b..b0273ace0f 100644 --- a/meta/classes/nativesdk.bbclass +++ b/meta/classes/nativesdk.bbclass @@ -6,13 +6,12 @@ EXCLUDE_FROM_WORLD = "1" # Update BASE_PACKAGE_ARCH and PACKAGE_ARCHS # OLD_PACKAGE_ARCH := ${BASE_PACKAGE_ARCH} -BASE_PACKAGE_ARCH = "${HOST_ARCH}-${OLD_PACKAGE_ARCH}-nativesdk" +BASE_PACKAGE_ARCH = "${SDK_ARCH}-nativesdk" python () { - barch = bb.data.getVar('HOST_ARCH', d, True) archs = bb.data.getVar('PACKAGE_ARCHS', d, True).split() sdkarchs = [] for arch in archs: - sdkarchs.append(barch + '-' + arch + '-nativesdk') + sdkarchs.append(arch + '-nativesdk') bb.data.setVar('PACKAGE_ARCHS', " ".join(sdkarchs), d) } -- cgit v1.2.3