mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
8514b6b42c
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]
31 lines
1.7 KiB
Plaintext
31 lines
1.7 KiB
Plaintext
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
|