summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIsmael Luceno <ismael.luceno@gmail.com>2012-02-26 10:13:06 -0200
committerPeter Korsgaard <jacmet@sunsite.dk>2012-02-26 22:15:51 +0100
commitfbfda06cb9d9aa1708915ec4148d08a0ca36cbc2 (patch)
tree542e3b22f24122b4f23dd8c8f4a3cc0034cc5b10
parented7791e2e8cdade564a5f484cdfe62ffe16cb981 (diff)
downloadbuildroot-novena-fbfda06cb9d9aa1708915ec4148d08a0ca36cbc2.tar.gz
buildroot-novena-fbfda06cb9d9aa1708915ec4148d08a0ca36cbc2.zip
qt: simplify arch handling
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/qt/qt.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index fe85daebf..68f93483c 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -199,9 +199,7 @@ else
QT_CONFIGURE_OPTS += -big-endian
endif
-ifeq ($(BR2_arm),y)
-QT_EMB_PLATFORM = arm
-else ifeq ($(BR2_armeb),y)
+ifeq ($(BR2_arm)$(BR2_armeb),y)
QT_EMB_PLATFORM = arm
else ifeq ($(BR2_avr32),y)
QT_EMB_PLATFORM = avr32
@@ -209,9 +207,7 @@ else ifeq ($(BR2_i386),y)
QT_EMB_PLATFORM = x86
else ifeq ($(BR2_x86_64),y)
QT_EMB_PLATFORM = x86_64
-else ifeq ($(BR2_mips),y)
-QT_EMB_PLATFORM = mips
-else ifeq ($(BR2_mipsel),y)
+else ifeq ($(BR2_mips)$(BR2_mipsel),y)
QT_EMB_PLATFORM = mips
else ifeq ($(BR2_powerpc),y)
QT_EMB_PLATFORM = powerpc