From fbfda06cb9d9aa1708915ec4148d08a0ca36cbc2 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Sun, 26 Feb 2012 10:13:06 -0200 Subject: qt: simplify arch handling Signed-off-by: Peter Korsgaard --- package/qt/qt.mk | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'package/qt') 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 -- cgit v1.2.3