diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-03 19:28:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-03 19:28:01 -0400 |
commit | 147a89bc71e7db40f011454a40add7ff2d10f8d8 (patch) | |
tree | 72f2f1355c6121c40124206c7d4ac82632f1690d /Makefile | |
parent | 3b24b83763e72a6c1e728100104fd99aa83a7b3b (diff) | |
parent | 18492685e479fd4d8e1dca836f57c11b6800f083 (diff) |
Merge tag 'kconfig-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kconfig updates from Masahiro Yamada:
- improve checkpatch for more precise Kconfig code checking
- clarify effective selects by grouping reverse dependencies in help
- do not write out '# CONFIG_FOO is not set' from invisible symbols
- make oldconfig as silent as it should be
- rename 'silentoldconfig' to 'syncconfig'
- add unit-test framework and several test cases
- warn unmet dependency of tristate symbols
- make unmet dependency warnings readable, removing false positives
- improve recursive include detection
- use yylineno to simplify the line number tracking
- misc cleanups
* tag 'kconfig-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (30 commits)
kconfig: use yylineno option instead of manual lineno increments
kconfig: detect recursive inclusion earlier
kconfig: remove duplicated file name and lineno of recursive inclusion
kconfig: do not include both curses.h and ncurses.h for nconfig
kconfig: make unmet dependency warnings readable
kconfig: warn unmet direct dependency of tristate symbols selected by y
kconfig: tests: test if recursive inclusion is detected
kconfig: tests: test if recursive dependencies are detected
kconfig: tests: test randconfig for choice in choice
kconfig: tests: test defconfig when two choices interact
kconfig: tests: check visibility of tristate choice values in y choice
kconfig: tests: check unneeded "is not set" with unmet dependency
kconfig: tests: test if new symbols in choice are asked
kconfig: tests: test automatic submenu creation
kconfig: tests: add basic choice tests
kconfig: tests: add framework for Kconfig unit testing
kbuild: add PYTHON2 and PYTHON3 variables
kconfig: remove redundant streamline_config.pl prerequisite
kconfig: rename silentoldconfig to syncconfig
kconfig: invoke oldconfig instead of silentoldconfig from local*config
...
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -386,6 +386,8 @@ INSTALLKERNEL := installkernel | |||
386 | DEPMOD = /sbin/depmod | 386 | DEPMOD = /sbin/depmod |
387 | PERL = perl | 387 | PERL = perl |
388 | PYTHON = python | 388 | PYTHON = python |
389 | PYTHON2 = python2 | ||
390 | PYTHON3 = python3 | ||
389 | CHECK = sparse | 391 | CHECK = sparse |
390 | 392 | ||
391 | CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ | 393 | CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ |
@@ -432,7 +434,7 @@ GCC_PLUGINS_CFLAGS := | |||
432 | 434 | ||
433 | export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC | 435 | export ARCH SRCARCH CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE AS LD CC |
434 | export CPP AR NM STRIP OBJCOPY OBJDUMP HOSTLDFLAGS HOST_LOADLIBES | 436 | export CPP AR NM STRIP OBJCOPY OBJDUMP HOSTLDFLAGS HOST_LOADLIBES |
435 | export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON UTS_MACHINE | 437 | export MAKE LEX YACC AWK GENKSYMS INSTALLKERNEL PERL PYTHON PYTHON2 PYTHON3 UTS_MACHINE |
436 | export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS | 438 | export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS |
437 | 439 | ||
438 | export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS | 440 | export KBUILD_CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS |
@@ -591,7 +593,7 @@ $(KCONFIG_CONFIG) include/config/auto.conf.cmd: ; | |||
591 | # include/generated/ and include/config/. Update them if .config is newer than | 593 | # include/generated/ and include/config/. Update them if .config is newer than |
592 | # include/config/auto.conf (which mirrors .config). | 594 | # include/config/auto.conf (which mirrors .config). |
593 | include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd | 595 | include/config/%.conf: $(KCONFIG_CONFIG) include/config/auto.conf.cmd |
594 | $(Q)$(MAKE) -f $(srctree)/Makefile silentoldconfig | 596 | $(Q)$(MAKE) -f $(srctree)/Makefile syncconfig |
595 | else | 597 | else |
596 | # external modules needs include/generated/autoconf.h and include/config/auto.conf | 598 | # external modules needs include/generated/autoconf.h and include/config/auto.conf |
597 | # but do not care if they are up-to-date. Use auto.conf to trigger the test | 599 | # but do not care if they are up-to-date. Use auto.conf to trigger the test |