[OpenWrt-Devel] [PATCH] bugfix: FORCE=1 doesn't work to override prereq checks
Karl Palsson
karlp at tweak.net.au
Mon Jul 20 11:35:13 EDT 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
What prereq can be forced that makes force even a worthwhile option? If
it works anyway, why not just drop the prereq check? If it still won't
work, what's the point in allowing a force?
Cheers,
Karl P
Lawrence D'Anna <larry at elder-gods.org> wrote:
> 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
> --- a/include/prereq.mk
> +++ b/include/prereq.mk
> @@ -14,7 +14,7 @@ prereq:
> cat $(TMP_DIR)/.prereq-error; \
> rm -f $(TMP_DIR)/.prereq-error; \
> echo; \
> - false; \
> + $(if $(FORCE),true,false); \
> fi
>
> .SILENT: prereq
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBAgAGBQJVrRUxAAoJEBmotQ/U1cr2oB0QAL71YhXlaq/USVumEfaTqsUI
ei2rBms4cVf7edreOvMKUBLIZ6mPgITcRJqtvgxxwhhbTYYoliDPiiLZ7EX2WqV5
IrwLV5EEwe2RK64vYxyvXujSvNepDqTo7UhqB2mNMMy6fGuSJRWD9QfIlS8z9BuL
rhZfPpGGI9SovJNUhtz96y7mxFR+L7Wk7hh/DG93q0t/CpaQRsRBsSEDCpBzkENF
UN/X/hK8mGoXcC8GLdtWXujigDUL5CQaZCdBvpFhuboimHp/Q1RoSmtLcnkqc2xb
rUKJoMFRhC9BaoJpDsrcgs5AP1g5OzbaSelNkDL57IBfd8lxX9Yk7hSd4o5vmUp/
M99V6qVt81SIB9DRuJzejutEtObbjNFmLX2WohQSaUSs5FzRZL1Vk2uVrslqZKR7
pFnDpAAubVQhFm2Oz+aNKeRMCXgccBFcyvDzSOvhyDq9Wh5U0FeS9uFooESVpvrA
vdMvTJxWXQBkw2hdUoqfLedFAsyPpOb9eDFl3eiZ0FrOJCoaBl5iByKzWcxdjIWW
CpIEKcaUE4JjpC8vTSVF0st+ER8me50+790B3avZjPZxmzRdy/p0UpnY0FgJOfM+
w/TB3YTVNmu8v4ssQD2xqcNBbQxp49nZYSob6yG1o6qhVJnbE1AxwBoaNAjDxOT9
I3Ds5dUQS4wD7AZh7WNh
=S04b
-----END PGP SIGNATURE-----
-------------- next part --------------
_______________________________________________
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