author | llornkcor <llornkcor> | 2003-07-10 04:59:59 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-07-10 04:59:59 (UTC) |
commit | 6abb84fb644b6746ad35e48c67f46e33de99bad2 (patch) (unidiff) | |
tree | 43331a89fec5b13dc81cf8af4fe383d4ac781a73 | |
parent | 155d68c1e7d7dc0fed2534ac43d6d77ce2781f55 (diff) | |
download | opie-6abb84fb644b6746ad35e48c67f46e33de99bad2.zip opie-6abb84fb644b6746ad35e48c67f46e33de99bad2.tar.gz opie-6abb84fb644b6746ad35e48c67f46e33de99bad2.tar.bz2 |
add PLATFORM... bleh
-rw-r--r-- | Vars.make | 16 | ||||
-rw-r--r-- | include.pro | 4 |
2 files changed, 18 insertions, 2 deletions
@@ -15,6 +15,22 @@ ifneq ($(wildcard $(TOPDIR)/.config),) | |||
15 | include $(TOPDIR)/.config | 15 | include $(TOPDIR)/.config |
16 | endif | 16 | endif |
17 | 17 | ||
18 | ifdef CONFIG_TARGET_X86 | ||
19 | PLATFORM=x86-linux | ||
20 | endif | ||
21 | ifdef CONFIG_TARGET_SHARP | ||
22 | PLATFORM=sharp-linux | ||
23 | endif | ||
24 | ifdef CONFIG_TARGET_IPAQ | ||
25 | PLATFORM=ipaq-linux | ||
26 | endif | ||
27 | ifdef CONFIG_TARGET_RAMSES | ||
28 | PLATFORM=ramses-linux | ||
29 | endif | ||
30 | ifdef CONFIG_TARGET_SIMPAD | ||
31 | PLATFORM=simpad-linux | ||
32 | endif | ||
33 | |||
18 | export QMAKE:=$(OPIEDIR)/qmake/qmake | 34 | export QMAKE:=$(OPIEDIR)/qmake/qmake |
19 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs | 35 | export QMAKESPECSDIR=$(OPIEDIR)/mkspecs |
20 | 36 | ||
diff --git a/include.pro b/include.pro index 38294d4..3ba8776 100644 --- a/include.pro +++ b/include.pro | |||
@@ -74,7 +74,7 @@ QMAKE_EXTRA_UNIX_TARGETS += lupdate lrelease ipk opie-lupdate opie-lrelease | |||
74 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib | 74 | QMAKE_LFLAGS += -Wl,-rpath=$$prefix/lib |
75 | QMAKE_LIBDIR += $(OPIEDIR)/lib | 75 | QMAKE_LIBDIR += $(OPIEDIR)/lib |
76 | 76 | ||
77 | MOC_DIR=.moc/$$PLATFORM | 77 | MOC_DIR=.moc/$(PLATFORM) |
78 | OBJECTS_DIR=.obj/$$PLATFORM | 78 | OBJECTS_DIR=.obj/$(PLATFORM) |
79 | 79 | ||
80 | include ( $(OPIEDIR)/gen.pro ) | 80 | include ( $(OPIEDIR)/gen.pro ) |