summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make16
-rw-r--r--include.pro4
2 files changed, 18 insertions, 2 deletions
diff --git a/Vars.make b/Vars.make
index 788ebf5..cc463d3 100644
--- a/Vars.make
+++ b/Vars.make
@@ -16,4 +16,20 @@ ifneq ($(wildcard $(TOPDIR)/.config),)
endif
+ifdef CONFIG_TARGET_X86
+ PLATFORM=x86-linux
+endif
+ifdef CONFIG_TARGET_SHARP
+ PLATFORM=sharp-linux
+endif
+ifdef CONFIG_TARGET_IPAQ
+ PLATFORM=ipaq-linux
+endif
+ifdef CONFIG_TARGET_RAMSES
+ PLATFORM=ramses-linux
+endif
+ifdef CONFIG_TARGET_SIMPAD
+ PLATFORM=simpad-linux
+endif
+
export QMAKE:=$(OPIEDIR)/qmake/qmake
export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
diff --git a/include.pro b/include.pro
index 38294d4..3ba8776 100644
--- a/include.pro
+++ b/include.pro
@@ -75,6 +75,6 @@ QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib
QMAKE_LIBDIR += $(OPIEDIR)/lib
-MOC_DIR=.moc/$$PLATFORM
-OBJECTS_DIR=.obj/$$PLATFORM
+MOC_DIR=.moc/$(PLATFORM)
+OBJECTS_DIR=.obj/$(PLATFORM)
include ( $(OPIEDIR)/gen.pro )