summaryrefslogtreecommitdiff
path: root/Vars.make
Side-by-side diff
Diffstat (limited to 'Vars.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make16
1 files changed, 16 insertions, 0 deletions
diff --git a/Vars.make b/Vars.make
index 788ebf5..cc463d3 100644
--- a/Vars.make
+++ b/Vars.make
@@ -15,6 +15,22 @@ ifneq ($(wildcard $(TOPDIR)/.config),)
include $(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