diff options
author | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-19 23:02:14 +0000 |
---|---|---|
committer | mbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2006-05-19 23:02:14 +0000 |
commit | 9f306c85c239368b0077535fcd0320f7f5ce1626 (patch) | |
tree | a0285c2ef011f3e8dce29372af61c786334d2567 /Makefile | |
parent | 93e50b06ca295bc34326f6221b48ff5e94ccaa12 (diff) |
fix .pkginfo line to allow the use of $(SOURCE)
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3802 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -41,11 +41,11 @@ export OPENWRTVERSION all: .pkginfo: FORCE -ifeq ($(shell ./scripts/timestamp.pl -p .pkginfo package),package) +ifneq ($(shell ./scripts/timestamp.pl -p .pkginfo package Makefile),.pkginfo) @echo Collecting package info... - @-for makefile in package/*/Makefile; do \ - echo Source-Makefile: $$makefile; \ - $(MAKE) --no-print-dir DUMP=1 -f $$makefile 2>&- || true; \ + @-for dir in package/*/; do \ + echo Source-Makefile: $${dir}Makefile; \ + $(MAKE) --no-print-dir DUMP=1 -C $$dir 2>&- || true; \ done > $@ endif |