summaryrefslogtreecommitdiff
path: root/Makefile
Unidiff
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index 10df035..8551f28 100644
--- a/Makefile
+++ b/Makefile
@@ -20,11 +20,9 @@ configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPD
20 # -critical-. Do not rearrange this! 20 # -critical-. Do not rearrange this!
21 21
22all : $(TOPDIR)/.config 22all : $(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 \
28 prerm=`echo $$ctrl|sed -e 's,\.control$$,.prerm,'`; \ 26 prerm=`echo $$ctrl|sed -e 's,\.control$$,.prerm,'`; \
29 preinst=`echo $$ctrl|sed -e 's,\.control$$,.preinst,'`; \ 27 preinst=`echo $$ctrl|sed -e 's,\.control$$,.preinst,'`; \
30 postrm=`echo $$ctrl|sed -e 's,\.control$$,.postrm,'`; \ 28 postrm=`echo $$ctrl|sed -e 's,\.control$$,.postrm,'`; \
@@ -106,15 +104,8 @@ endif
106-include $(TOPDIR)/.config.cmd 104-include $(TOPDIR)/.config.cmd
107 105
108SUBDIRS = $(subdir-y) 106SUBDIRS = $(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)
118 109
119lupdate lrelease: 110lupdate lrelease:
120 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done; 111 @for i in $(SUBDIRS); do $(MAKE) -C $$i $@; done;