1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-18 05:18:14 +02:00
openwrt/scripts/config
Eneas U de Queiroz 3204430e38 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>
2020-04-09 12:51:10 +02:00
..
lxdialog
.gitignore
conf.c
confdata.c
expr.c
expr.h
images.c
images.h
lexer.l
lexer.lex.c
list.h
lkc_proto.h
lkc.h
Makefile
mconf-cfg.sh
mconf.c
menu.c
parser.tab.c
parser.tab.h
parser.y
preprocess.c
qconf-cfg.sh
qconf.cc
qconf.h
README
symbol.c
util.c

These files were taken from the Linux Kernel Configuration System at commit
089b7d890f972f6b649fedc9259f6b93a18fb970 (Feb 4, 2020) and modified for the
OpenWrt Buildroot:
 - removed nconf, gconf, tests and kernel configuration targets
 - adjusted the Makefile to compile outside the kernel
 - always use default file when running make all{no,mod,yes}config
 - added a 'reset' command to reset config when the target changes
 - allow config reading from & writing to a different file
 - allow 'source' command to use globs to include multiple files
 - don't write auto.conf and other files under include/ directory
 - reverted a commit to allow use of '/' & '.' in unquoted config symbols.
   There are too many of those in OpenWrt right now.
 - reverted a commit that was issuing a warning when there were more than
   one help text.  This is used in a few packages to use different texts
   for the menuconfig help, and the ipkg package description.
 - 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

For a full list of changes, see the repository at:
https://github.com/cotequeiroz/linux/commits/openwrt/scripts/kconfig