summaryrefslogtreecommitdiff
path: root/conf/distro/angstrom-2007.1.conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-20 13:09:55 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-20 13:09:55 +0000
commit5e005f7ef14ad4c004512e9a0deda05052af082a (patch)
treeebcf2b85eadbdf2e9713f19e3d1419eeffff2524 /conf/distro/angstrom-2007.1.conf
parent66330066f357d88b85653ee8277c17fb52a3e2bd (diff)
angstrom: fix OABI package archs
* downside: now there are 3 places for people to edit for people with oabi machines
Diffstat (limited to 'conf/distro/angstrom-2007.1.conf')
-rw-r--r--conf/distro/angstrom-2007.1.conf10
1 files changed, 4 insertions, 6 deletions
diff --git a/conf/distro/angstrom-2007.1.conf b/conf/distro/angstrom-2007.1.conf
index 6ef9646814..db293634f1 100644
--- a/conf/distro/angstrom-2007.1.conf
+++ b/conf/distro/angstrom-2007.1.conf
@@ -10,9 +10,12 @@
DISTRO_VERSION = "test-${DATE}"
DISTRO_REVISION = "46"
-require conf/distro/include/angstrom.inc
require conf/distro/include/sane-srcdates.inc
+#This is needed to get a correct PACKAGE_ARCH for packages that have PACKAGE_ARCH = ${MACHINE_ARCH}
+ARM_ABI = "${@['','oabi'][bb.data.getVar('MACHINE',d) in ['collie','h3600', 'h3800', 'simpad']]}"
+require conf/distro/include/angstrom${ARM_ABI}.inc
+
#Images built can have to modes:
# 'debug': empty rootpassword, strace and gdb included
# 'release' no root password, no strace and gdb by default
@@ -88,11 +91,6 @@ FEED_ARCH_simpad = "arm-oabi"
#Tweak packaging for strongarm machines since they can't use EABI
-PACKAGE_ARCH_collie = "arm-oabi"
-PACKAGE_ARCH_h3600 = "arm-oabi"
-PACKAGE_ARCH_h3800 = "arm-oabi"
-PACKAGE_ARCH_simpad = "arm-oabi"
-
PACKAGE_EXTRA_ARCHS_collie = "arm-oabi"
PACKAGE_EXTRA_ARCHS_h3600 = "arm-oabi"
PACKAGE_EXTRA_ARCHS_h3800 = "arm-oabi"