[OpenWrt-Devel] [PATCH] Makefile: Remove unnecessary "FORCE" targets

Robert P. J. Day rpjday at crashcourse.ca
Tue Sep 23 04:56:25 EDT 2014

Given that both "clean" and "world" are declared as .PHONY targets at
the bottom of the Makefile, the "FORCE" is unnecessary.

Signed-off-by: Robert P. J. Day <rpjday at crashcourse.ca>


diff --git a/Makefile b/Makefile
index 91b6946..0043347 100644
--- a/Makefile
+++ b/Makefile
@@ -49,7 +49,7 @@ printdb:

 prepare: $(target/stamp-compile)

-clean: FORCE

 dirclean: clean
@@ -83,7 +83,7 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages

 prepare: .config $(tools/stamp-install) $(toolchain/stamp-install)
-world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install) FORCE
+world: prepare $(target/stamp-compile) $(package/stamp-compile) $(package/stamp-install) $(target/stamp-install)
 	$(_SINGLE)$(SUBMAKE) -r package/index

 # update all feeds, re-create index files, install symlinks


Robert P. J. Day                                 Ottawa, Ontario, CANADA

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list