From eaaafd114a8210b0d434231290ec5e294aae91bb Mon Sep 17 00:00:00 2001 From: ar Date: Wed, 12 Jan 2005 17:25:17 +0000 Subject: - make host system for oe based builds configurable --- diff --git a/Vars.make b/Vars.make index 238918f..fe4f397 100644 --- a/Vars.make +++ b/Vars.make @@ -21,6 +21,7 @@ else $(shell mkdir -p $(QTDIR)/src/moc) $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) PLATFORM=sharp-linux + OEHOSTSYS:=$(CONFIG_OE_HOST_SYS) endif ifdef 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 string "OE build directory" 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" 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 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 STAGING_LIBDIR = $(OEDIR)/tmp/staging/arm-linux/lib -- cgit v0.9.0.2