[OpenWrt-Devel] [PATCH] bugfix: FORCE=1 doesn't work to override prereq checks
larry at elder-gods.org
Sun Jul 19 18:50:15 EDT 2015
If the build prereq checks fail, you get the message
Prerequisite check failed. Use FORCE=1 to override.
But re-trying with "make menuconfig FORCE=1" gives you the same result.
This patch fixes that.
Signed-off-by: Lawrence D'Anna <larry at elder-gods.org>
include/prereq.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/prereq.mk b/include/prereq.mk
index 33ac278..770dafd 100644
@@ -14,7 +14,7 @@ prereq:
cat $(TMP_DIR)/.prereq-error; \
rm -f $(TMP_DIR)/.prereq-error; \
- false; \
+ $(if $(FORCE),true,false); \
2.3.8 (Apple Git-58)
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel