summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make1
-rw-r--r--config.in5
-rw-r--r--mkspecs/qws/linux-oe-g++/qmake.conf2
3 files changed, 7 insertions, 1 deletions
diff --git a/Vars.make b/Vars.make
index 238918f..fe4f397 100644
--- a/Vars.make
+++ b/Vars.make
@@ -22,4 +22,5 @@ else
$(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile)
PLATFORM=sharp-linux
+ OEHOSTSYS:=$(CONFIG_OE_HOST_SYS)
endif
diff --git a/config.in b/config.in
index d9659be..323ca51 100644
--- a/config.in
+++ b/config.in
@@ -43,4 +43,9 @@ config OE_BUILD_DIR
default ">>>set OpenEmbedded build directory here<<<"
+config OE_HOST_SYS
+ depends TARGET_OE
+ string "OE host system"
+ default "i686-linux"
+
config OPTIMIZE
boolean "Use optimizations"
diff --git a/mkspecs/qws/linux-oe-g++/qmake.conf b/mkspecs/qws/linux-oe-g++/qmake.conf
index c4c273f..90166b0 100644
--- a/mkspecs/qws/linux-oe-g++/qmake.conf
+++ b/mkspecs/qws/linux-oe-g++/qmake.conf
@@ -9,5 +9,5 @@ TEMPLATE = app
CONFIG += qt link_prl
-STAGING_BINDIR = $(OEDIR)/tmp/staging/i686-linux/bin
+STAGING_BINDIR = $(OEDIR)/tmp/staging/$(OEHOSTSYS)/bin
STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin
STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include