wpa-supplicant 0.5.5: work around OE/bitbake arch bug
authorKoen Kooi <koen@openembedded.org>
Sun, 26 Nov 2006 14:18:20 +0000 (14:18 +0000)
committerKoen Kooi <koen@openembedded.org>
Sun, 26 Nov 2006 14:18:20 +0000 (14:18 +0000)
packages/wpa-supplicant/wpa-supplicant_0.5.5.bb

index e8f9e2f..51eb7a6 100644 (file)
@@ -3,7 +3,10 @@ SECTION = "network"
 LICENSE = "GPL"
 HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
 DEPENDS = "gnutls ${@base_contains("COMBINED_FEATURES", "pci", "madwifi-ng", "",d)}"
-PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'pci', '${MACHINE}', '${TARGET_ARCH}', d)}"
+
+#we introduce MY_ARCH to get 'armv5te' as arch instead of the misleading 'arm' on armv5te builds
+MY_ARCH := "${PACKAGE_ARCH}"
+PACKAGE_ARCH = "${@base_contains('COMBINED_FEATURES', 'pci', '${MACHINE}', '${MY_ARCH}', d)}"
 
 DEFAULT_PREFERENCE = "-2"