summaryrefslogtreecommitdiff
path: root/Vars.make
Unidiff
Diffstat (limited to 'Vars.make') (more/less context) (show whitespace changes)
-rw-r--r--Vars.make5
1 files changed, 3 insertions, 2 deletions
diff --git a/Vars.make b/Vars.make
index 1413282..6a52a93 100644
--- a/Vars.make
+++ b/Vars.make
@@ -8,29 +8,30 @@ ifeq ($(IPK_DIR),)
8endif 8endif
9 9
10ifneq ($(wildcard $(TOPDIR)/.config),) 10ifneq ($(wildcard $(TOPDIR)/.config),)
11 include $(TOPDIR)/.config 11 include $(TOPDIR)/.config
12endif 12endif
13 13
14ifndef CONFIG_TARGET_OE 14ifndef CONFIG_TARGET_OE
15 ifndef QTDIR 15 ifndef QTDIR
16 $(error QTDIR not set) 16 $(error QTDIR not set)
17 endif 17 endif
18else 18else
19 OEDIR:=$(shell echo $(CONFIG_OE_BUILD_DIR) | sed -e's/"//g') 19 OEDIR:=$(shell echo $(CONFIG_OE_BUILD_DIR) | sed -e's/"//g')
20 QTDIR:=$(shell echo $(OEDIR) | sed -e's/"//g')/tmp/staging/arm-linux/qt2 20 OEHOSTSYS:=$(shell echo $(CONFIG_OE_HOST_SYS) | sed -e's/"//g')
21 OETARGETSYS:=$(shell echo $(CONFIG_OE_TARGET_SYS) | sed -e's/"//g')
22 QTDIR:=$(shell echo $(OEDIR) | sed -e's/"//g')/tmp/staging/$(OETARGETSYS)/qt2
21 $(shell mkdir -p $(QTDIR)/src/moc) 23 $(shell mkdir -p $(QTDIR)/src/moc)
22 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile) 24 $(shell echo -e "all: \n\t" >>$(QTDIR)/src/moc/Makefile)
23 PLATFORM=sharp-linux 25 PLATFORM=sharp-linux
24 OEHOSTSYS:=$(shell echo $(CONFIG_OE_HOST_SYS) | sed -e's/"//g')
25endif 26endif
26 27
27ifdef CONFIG_TARGET_X86 28ifdef CONFIG_TARGET_X86
28 PLATFORM=x86-linux 29 PLATFORM=x86-linux
29endif 30endif
30ifdef CONFIG_TARGET_SHARP 31ifdef CONFIG_TARGET_SHARP
31 PLATFORM=sharp-linux 32 PLATFORM=sharp-linux
32endif 33endif
33ifdef CONFIG_TARGET_IPAQ 34ifdef CONFIG_TARGET_IPAQ
34 PLATFORM=ipaq-linux 35 PLATFORM=ipaq-linux
35endif 36endif
36ifdef CONFIG_TARGET_RAMSES 37ifdef CONFIG_TARGET_RAMSES