[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
+clean:
rm -rf $(BUILD_DIR) $(BIN_DIR) $(BUILD_LOG_DIR)
dirclean: clean
@@ -83,7 +83,7 @@ prereq: $(target/stamp-prereq) tmp/.prereq_packages
fi
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
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list