diff options
author | Mike Baker <mbm@openwrt.org> | 2006-08-02 12:07:14 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2006-08-02 12:07:14 +0000 |
commit | e8d1e4e748a83e09c67d546476ba41b070a9e6ca (patch) | |
tree | e1e1bf8103cdf9e2229708ff122d55bfbb8fc3df /openwrt/Makefile | |
parent | 1d7ff67831073bd2a874e2de5037af916016a0b0 (diff) | |
download | mtk-20170518-e8d1e4e748a83e09c67d546476ba41b070a9e6ca.zip mtk-20170518-e8d1e4e748a83e09c67d546476ba41b070a9e6ca.tar.gz mtk-20170518-e8d1e4e748a83e09c67d546476ba41b070a9e6ca.tar.bz2 |
minor makefile tweaks
SVN-Revision: 4393
Diffstat (limited to 'openwrt/Makefile')
-rw-r--r-- | openwrt/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/openwrt/Makefile b/openwrt/Makefile index 85091f6..a520ffd 100644 --- a/openwrt/Makefile +++ b/openwrt/Makefile @@ -14,18 +14,17 @@ RELEASE:=Kamikaze # Just run 'make menuconfig', configure stuff, then run 'make'. # You shouldn't need to mess with anything beyond this point... #-------------------------------------------------------------- -TOPDIR=${shell pwd} -export TOPDIR +export TOPDIR=${shell pwd} include $(TOPDIR)/include/verbose.mk OPENWRTVERSION:=$(RELEASE) ifneq ($(VERSION),) -OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION)) + OPENWRTVERSION:=$(VERSION) ($(OPENWRTVERSION)) else -REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) -ifneq ($(REV),) -OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV) -endif + REV:=$(shell LANG=C svn info | awk '/^Revision:/ { print$$2 }' ) + ifneq ($(REV),) + OPENWRTVERSION:=$(OPENWRTVERSION)/r$(REV) + endif endif export OPENWRTVERSION @@ -40,7 +39,7 @@ endif @echo Collecting package info... @-for dir in package/*/; do \ echo Source-Makefile: $${dir}Makefile; \ - $(NO_TRACE_MAKE) --no-print-dir DUMP=1 -C $$dir 2>&- || true; \ + $(NO_TRACE_MAKE) --no-print-dir DUMP=1 -C $$dir 2>&- || echo "ERROR: please fix package/$${dir}/Makefile" >&2; \ done > $@ .config.in: .pkginfo @@ -129,5 +128,6 @@ distclean: dirclean config-clean .SILENT: clean dirclean distclean config-clean download world +FORCE: ; .PHONY: FORCE -FORCE: +%: ; |