You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/scripts/config
Eneas U de Queiroz 8514b6b42c build: config: allow bool to select a module pkg
kconfig-v5.6 disallowed a bool symbol to select another symbol that
'depends on m' (i.e. can be only 'm' on 'n').  It is, in fact, an unmet
dependency to have set to 'y'.  However, openwrt depends on the previous
behavior, to be able to build a package that can be a module or built-in
depending on a bool config.  This restores the previous behavior.

Ref: https://forum.openwrt.org/t/wireless-fails-on-snapshot-r12900-kernel-5-4-on-c2600-ipq806x
Tested-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [added forum ref]
4 years ago
..
lxdialog build: scripts/config - update to kconfig-v5.6 4 years ago
.gitignore build: scripts/config - update to kconfig-v5.6 4 years ago
Makefile build: scripts/config - update to kconfig-v5.6 4 years ago
README build: config: allow bool to select a module pkg 4 years ago
conf.c build: scripts/config - update to kconfig-v5.6 4 years ago
confdata.c build: scripts/config - update to kconfig-v5.6 4 years ago
expr.c build: scripts/config - update to kconfig-v5.6 4 years ago
expr.h build: scripts/config - update to kconfig-v5.6 4 years ago
images.c build: scripts/config - update to kconfig-v5.6 4 years ago
images.h build: scripts/config - update to kconfig-v5.6 4 years ago
lexer.l build: scripts/config - update to kconfig-v5.6 4 years ago
lexer.lex.c build: scripts/config - update to kconfig-v5.6 4 years ago
list.h build: scripts/config - update to kconfig-v5.6 4 years ago
lkc.h build: scripts/config - update to kconfig-v5.6 4 years ago
lkc_proto.h build: scripts/config - update to kconfig-v5.6 4 years ago
mconf-cfg.sh build: scripts/config - update to kconfig-v5.6 4 years ago
mconf.c build: scripts/config - update to kconfig-v5.6 4 years ago
menu.c build: scripts/config - update to kconfig-v5.6 4 years ago
parser.tab.c build: scripts/config - update to kconfig-v5.6 4 years ago
parser.tab.h build: scripts/config - update to kconfig-v5.6 4 years ago
parser.y build: scripts/config - update to kconfig-v5.6 4 years ago
preprocess.c build: scripts/config - update to kconfig-v5.6 4 years ago
qconf-cfg.sh build: scripts/config - update to kconfig-v5.6 4 years ago
qconf.cc build: scripts/config - update to kconfig-v5.6 4 years ago
qconf.h build: scripts/config - update to kconfig-v5.6 4 years ago
symbol.c build: config: allow bool to select a module pkg 4 years ago
util.c build: scripts/config - update to kconfig-v5.6 4 years ago

README

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.
 - allow a bool symbol to select a tristate symbol that depends on m (i.e.
   a package that should only be built as a module).

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