aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/config/README
diff options
context:
space:
mode:
authorEneas U de Queiroz <cotequeiroz@gmail.com>2020-04-07 17:07:24 -0300
committerPetr Štetiar <ynezz@true.cz>2020-04-09 12:51:10 +0200
commit3204430e38f1a2ba7fda9471720a2a1042adf5e0 (patch)
tree09c37c01356709c5596609e22616f7d9f208a79c /scripts/config/README
parentdcf3e63a35d05e7e5103819c0f17195bfafe9baa (diff)
downloadupstream-3204430e38f1a2ba7fda9471720a2a1042adf5e0.tar.gz
upstream-3204430e38f1a2ba7fda9471720a2a1042adf5e0.tar.bz2
upstream-3204430e38f1a2ba7fda9471720a2a1042adf5e0.zip
build: add option to warn on recursive dependency
This addes the option to treat recursive dependencies as warnings instead of errors, by running make with WARN_RECURSIVE_DEP=1. Note that the script/config targets will not get rebuilt when you add or remove WARN_RECURSIVE_DEP while running make. One must run 'make config-clean' before building config with a different setting. Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Diffstat (limited to 'scripts/config/README')
-rw-r--r--scripts/config/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/config/README b/scripts/config/README
index ac5f094ff2..81243e8016 100644
--- a/scripts/config/README
+++ b/scripts/config/README
@@ -16,6 +16,10 @@ OpenWrt Buildroot:
- reverted an upstream change that avoids writing symbols that are not
visible to .config, which breaks OpenWrt busybox's '.config' generation
logic.
+ - add a compilation option (-DWARN_RECURSIVE_DEP) to treat recursive deps
+ as a warning, avoiding a complete build failure because of unrelated or
+ minor recursive deps, or making a scrict check before commiting a change
+ that may cause one.
- use pre-built *.lex.c *.tab.[ch] files by default, to avoid depending on
flex & bison. Rebuild/remove these files only if running make with
BUILD_SHIPPED_FILES defined