summaryrefslogtreecommitdiff
path: root/Vars.make
Unidiff
Diffstat (limited to 'Vars.make') (more/less context) (ignore whitespace changes)
-rw-r--r--Vars.make16
1 files changed, 12 insertions, 4 deletions
diff --git a/Vars.make b/Vars.make
index 5e2cd7b..238918f 100644
--- a/Vars.make
+++ b/Vars.make
@@ -1,7 +1,3 @@
1ifndef QTDIR
2$(error QTDIR not set)
3endif
4
5prefix=/opt/QtPalmtop 1prefix=/opt/QtPalmtop
6 2
7ifeq ($(OPIEDIR),) 3ifeq ($(OPIEDIR),)
@@ -15,6 +11,18 @@ ifneq ($(wildcard $(TOPDIR)/.config),)
15 include $(TOPDIR)/.config 11 include $(TOPDIR)/.config
16endif 12endif
17 13
14ifndef CONFIG_TARGET_OE
15 ifndef QTDIR
16 $(error QTDIR not set)
17 endif
18else
19 OEDIR:=$(CONFIG_OE_BUILD_DIR)
20 QTDIR:=$(OEDIR)/tmp/staging/arm-linux/qt2
21 $(shell mkdir -p $(QTDIR)/src/moc)
22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile)
23 PLATFORM=sharp-linux
24endif
25
18ifdef CONFIG_TARGET_X86 26ifdef CONFIG_TARGET_X86
19 PLATFORM=x86-linux 27 PLATFORM=x86-linux
20endif 28endif