Hi again,

> what happened to the ability to rebuild single packages using
> "make packag/<packag-name>-rebuild".
ok, answering to myself this patch should do...

But surely someone else knows make better than I do.

good night.
  Markus

--- Makefile.orig       2006-06-28 18:55:41.000000000 +0200
+++ Makefile    2006-06-28 18:55:12.000000000 +0200
@@ -29,6 +29,9 @@
 # other issues arising in any way out of its use, even if advised of
 # the possibility of such damage or existence of a nontrivial bug.
 
+TOPDIR=${shell pwd}
+export TOPDIR
+
 GMAKE?=                $(PWD)/lbin/gmake
 GMAKE_FMK=     ${GMAKE} -f $(PWD)/build.mk
 GMAKE_INV=     ${GMAKE_FMK} --no-print-directory
@@ -137,4 +140,7 @@
        @echo '===> Prerequisites checked successfully.'
        @touch $@
 
+package/%:
+       $(GMAKE_INV) package/$(patsubst package/%,%,$@)
+
 .PHONY: prereq prereq-noerror

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
freewrt-developers mailing list
[email protected]
https://www.freewrt.org/lists/listinfo/freewrt-developers

Reply via email to