Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'kbuild-fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild

Pull Kbuild fixes from Masahiro Yamada:

- Search for <ncurses.h> in the default header path of HOSTCC

- Tweak the option order to be kind to old BSD awk

- Remove 'kvmconfig' and 'xenconfig' shorthands

- Fix documentation

* tag 'kbuild-fixes-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
Documentation: kbuild: Fix section reference
kconfig: remove 'kvmconfig' and 'xenconfig' shorthands
lib/raid6: Let $(UNROLL) rules work with macOS userland
kconfig: Support building mconf with vendor sysroot ncurses
kconfig: config script: add a little user help
MAINTAINERS: adjust GCC PLUGINS after gcc-plugin.sh removal

+6 -14
+1 -1
Documentation/kbuild/makefiles.rst
··· 598 598 explicitly added to $(targets). 599 599 600 600 Assignments to $(targets) are without $(obj)/ prefix. if_changed may be 601 - used in conjunction with custom rules as defined in "3.9 Custom Rules". 601 + used in conjunction with custom rules as defined in "3.11 Custom Rules". 602 602 603 603 Note: It is a typical mistake to forget the FORCE prerequisite. 604 604 Another common pitfall is that whitespace is sometimes significant; for
-1
MAINTAINERS
··· 7363 7363 S: Maintained 7364 7364 F: Documentation/kbuild/gcc-plugins.rst 7365 7365 F: scripts/Makefile.gcc-plugins 7366 - F: scripts/gcc-plugin.sh 7367 7366 F: scripts/gcc-plugins/ 7368 7367 7369 7368 GCOV BASED KERNEL PROFILING
+1 -1
lib/raid6/Makefile
··· 48 48 endif 49 49 50 50 quiet_cmd_unroll = UNROLL $@ 51 - cmd_unroll = $(AWK) -f$(srctree)/$(src)/unroll.awk -vN=$* < $< > $@ 51 + cmd_unroll = $(AWK) -v N=$* -f $(srctree)/$(src)/unroll.awk < $< > $@ 52 52 53 53 targets += int1.c int2.c int4.c int8.c int16.c int32.c 54 54 $(obj)/int%.c: $(src)/int.uc $(src)/unroll.awk FORCE
+1
scripts/config
··· 223 223 ;; 224 224 225 225 *) 226 + echo "bad command: $CMD" >&2 226 227 usage 227 228 ;; 228 229 esac
-10
scripts/kconfig/Makefile
··· 94 94 $(Q)$(CONFIG_SHELL) $(srctree)/scripts/kconfig/merge_config.sh -m .config $(configfiles) 95 95 $(Q)$(MAKE) -f $(srctree)/Makefile olddefconfig 96 96 97 - PHONY += kvmconfig 98 - kvmconfig: kvm_guest.config 99 - @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10" 100 - @echo >&2 " Please use 'make $<' instead." 101 - 102 - PHONY += xenconfig 103 - xenconfig: xen.config 104 - @echo >&2 "WARNING: 'make $@' will be removed after Linux 5.10" 105 - @echo >&2 " Please use 'make $<' instead." 106 - 107 97 PHONY += tinyconfig 108 98 tinyconfig: 109 99 $(Q)$(MAKE) -f $(srctree)/Makefile allnoconfig tiny.config
+3 -1
scripts/kconfig/mconf-cfg.sh
··· 33 33 exit 0 34 34 fi 35 35 36 - if [ -f /usr/include/ncurses.h ]; then 36 + # As a final fallback before giving up, check if $HOSTCC knows of a default 37 + # ncurses installation (e.g. from a vendor-specific sysroot). 38 + if echo '#include <ncurses.h>' | "${HOSTCC}" -E - >/dev/null 2>&1; then 37 39 echo cflags=\"-D_GNU_SOURCE\" 38 40 echo libs=\"-lncurses\" 39 41 exit 0