summaryrefslogtreecommitdiff
authorar <ar>2005-01-12 17:25:17 (UTC)
committer ar <ar>2005-01-12 17:25:17 (UTC)
commiteaaafd114a8210b0d434231290ec5e294aae91bb (patch) (unidiff)
tree7f4c8c5895608c64a00241e947e076d35c7f51f0
parent5f267ae8b540c229201edb8d65fe40786ac8ec5d (diff)
downloadopie-eaaafd114a8210b0d434231290ec5e294aae91bb.zip
opie-eaaafd114a8210b0d434231290ec5e294aae91bb.tar.gz
opie-eaaafd114a8210b0d434231290ec5e294aae91bb.tar.bz2
- make host system for oe based builds configurable
Diffstat (more/less context) (show 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
@@ -21,6 +21,7 @@ else
21 $(shell mkdir -p $(QTDIR)/src/moc) 21 $(shell mkdir -p $(QTDIR)/src/moc)
22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) 22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile)
23 PLATFORM=sharp-linux 23 PLATFORM=sharp-linux
24 OEHOSTSYS:=$(CONFIG_OE_HOST_SYS)
24endif 25endif
25 26
26ifdef CONFIG_TARGET_X86 27ifdef CONFIG_TARGET_X86
diff --git a/config.in b/config.in
index d9659be..323ca51 100644
--- a/config.in
+++ b/config.in
@@ -42,6 +42,11 @@ config OE_BUILD_DIR
42 string "OE build directory" 42 string "OE build directory"
43 default ">>>set OpenEmbedded build directory here<<<" 43 default ">>>set OpenEmbedded build directory here<<<"
44 44
45config OE_HOST_SYS
46 depends TARGET_OE
47 string "OE host system"
48 default "i686-linux"
49
45config OPTIMIZE 50config OPTIMIZE
46 boolean "Use optimizations" 51 boolean "Use optimizations"
47 default "y" if ! TARGET_X86 52 default "y" if ! TARGET_X86
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
@@ -8,7 +8,7 @@ MAKEFILE_GENERATOR = UNIX
8 TEMPLATE = app 8 TEMPLATE = app
9 CONFIG += qt link_prl 9 CONFIG += qt link_prl
10 10
11STAGING_BINDIR = $(OEDIR)/tmp/staging/i686-linux/bin 11STAGING_BINDIR = $(OEDIR)/tmp/staging/$(OEHOSTSYS)/bin
12STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin 12STAGING_CROSSDIR = $(OEDIR)/tmp/cross/bin
13STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include 13STAGING_INCDIR = $(OEDIR)/tmp/staging/arm-linux/include
14STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib 14STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib