summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Makefile11
-rw-r--r--Vars.make22
2 files changed, 23 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 10df035..8551f28 100644
--- a/Makefile
+++ b/Makefile
@@ -23,5 +23,3 @@ all : $(TOPDIR)/.config
23 23
24STRIP=arm-linux-strip 24ipks: $(OPIEDIR)/scripts/subst $(OPIEDIR)/scripts/filesubst FORCE $(TOPDIR)/.config
25
26ipks: $(OPIEDIR)/scripts/subst $(OPIEDIR)/scripts/filesubst FORCE
27 @find $(OPIEDIR)/ -type f -name \*.control | ( for ctrl in `cat`; do \ 25 @find $(OPIEDIR)/ -type f -name \*.control | ( for ctrl in `cat`; do \
@@ -109,9 +107,2 @@ SUBDIRS = $(subdir-y)
109 107
110export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
111
112ifdef CONFIG_OPTIMIZATIONS
113export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
114export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
115endif
116
117all clean install ipk: $(SUBDIRS) 108all clean install ipk: $(SUBDIRS)
diff --git a/Vars.make b/Vars.make
index eac5cea..b1cdb28 100644
--- a/Vars.make
+++ b/Vars.make
@@ -13,2 +13,6 @@ endif
13 13
14ifneq ($(wildcard $(TOPDIR)/.config),)
15 include $(TOPDIR)/.config
16endif
17
14export QMAKE:=$(OPIEDIR)/qmake/qmake 18export QMAKE:=$(OPIEDIR)/qmake/qmake
@@ -63 +67,19 @@ export QTE_VERSION
63export PATH:=$(OPIEDIR)/scripts:$(PATH) 67export PATH:=$(OPIEDIR)/scripts:$(PATH)
68export QMAKESPEC=$(QMAKESPECSDIR)/$(patsubst "%",%,$(CONFIG_SPECFILE))
69
70ifdef CONFIG_OPTIMIZATIONS
71export CFLAGS_RELEASE=$(patsubst "%,%,$(CONFIG_OPTIMIZATIONS))
72export CFLAGS_RELEASE:=$(patsubst %",%,$(CFLAGS_RELEASE))
73endif
74
75ifeq ($(STRIP),)
76 ifneq ($(CONFIG_TARGET_X86),)
77 STRIP=strip
78 endif
79 ifneq ($(CONFIG_TARGET_IPAQ),)
80 STRIP=arm-linux-strip
81 endif
82 ifneq ($(CONFIG_TARGET_SHARP),)
83 STRIP=arm-linux-strip
84 endif
85endif