From: mbm Date: Fri, 19 May 2006 23:02:14 +0000 (+0000) Subject: fix .pkginfo line to allow the use of $(SOURCE) X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/9f306c85c239368b0077535fcd0320f7f5ce1626 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 --- diff --git a/Makefile b/Makefile index 9b9d1c955..9b341f124 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/package/busybox/Makefile b/package/busybox/Makefile index ff23ee7dd..cc36301f5 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -23,10 +23,11 @@ TITLE:=Core utilities for embedded Linux DESCRIPTION:=The Swiss Army Knife of embedded Linux. \\\ It slices, it dices, it makes Julian Fries. URL:=http://busybox.net/ -CONFIG:=menu "Configuration" \\\ - depends on PACKAGE_busybox \\\ -source "package/busybox/config/Config.in" \\\ -endmenu +CONFIG:=\\\ + menu "Configuration" \\\ + depends on PACKAGE_busybox \\\ + source "$(SOURCE)/config/Config.in" \\\ + endmenu endef define Build/Configure