X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=blobdiff_plain;f=Makefile;h=a520ffde2d6bb3c54f0e7ba00221ae92a1ac2949;hp=85091f618e8fb0d5d0b0b54025a436e8ceadcaa6;hb=0301816e6adecb7048afbd6ced732f48ff2ca46f;hpb=812c57251d46d48385290ba17cdf31d3ce5146f6 diff --git a/Makefile b/Makefile index 85091f618..a520ffde2 100644 --- a/Makefile +++ b/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: +%: ;