r1853

dslinux_amadeus at dslinux.in-berlin.de dslinux_amadeus at dslinux.in-berlin.de
Fri Aug 24 23:38:20 CEST 2007


Author: amadeus
Date: 2007-08-24 23:38:14 +0200 (Fri, 24 Aug 2007)
New Revision: 1853

Log:
Improve Makefile

Modified: trunk/Makefile
===================================================================
--- trunk/Makefile	2007-08-05 19:25:34 UTC (rev 1852)
+++ trunk/Makefile	2007-08-24 21:38:14 UTC (rev 1853)
@@ -255,12 +255,12 @@
 .PHONY: netflash
 netflash netflash_only:
 ifeq ($(NO_NETFLASH_EXE),)
-	make -C prop/mstools CONFIG_PROP_MSTOOLS_NETFLASH_NETFLASH=y
+	$(MAKE) -C prop/mstools CONFIG_PROP_MSTOOLS_NETFLASH_NETFLASH=y
 endif
 
 .PHONY: release
 release:
-	make -C release release
+	$(MAKE) -C release release
 
 %_fullrelease:
 	@echo "This target no longer works"
@@ -336,13 +336,13 @@
 		echo "vendors/$(@:_default=)/config.device must exist first"; \
 		exit 1; \
 	 fi
-	-make clean > /dev/null 2>&1
+	-$(MAKE) clean > /dev/null 2>&1
 	cp vendors/$(@:_default=)/config.device .config
 	chmod u+x config/setconfig
 	yes "" | config/setconfig defaults
 	config/setconfig final
-	make dep
-	make
+	$(MAKE) dep
+	$(MAKE)
 
 config_error:
 	@echo "*************************************************"




More information about the dslinux-commit mailing list