Kbuild fixes for v4.17
- remove state comment in modpost - extend MAINTAINERS entry to cover modpost and more makefiles - fix missed building of SANCOV gcc-plugin - replace left-over 'bison' with $(YACC) - display short log when generating parer of genksyms -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJa7Q2iAAoJED2LAQed4NsGmp0P/2LcflJbSevRFY0NoFRCaWzS Pr/p4Duv3YODNW/H9m5aHq39jpOQadrpCzNk/SUV+AetwE9yg6Tir/qCufDdVEAP Pr6U3BApwmMqc1eEfJzWi/LOm6qmsjd/FG8a3fXosdCdGS6lACTuijMJQsKE8bX/ ZMOB4+EYwr+5OQr8wspeubdoR84t/YDOTZgunN0jr6xsT20nZgo5HJeR+ag4akrp 276+SGaw7LxcX4J8GSkw/szfdl8AlkgRzf2CCgcNPNhGAtHiWnGeENhRuN8jk98E /6a8wmb6PNiCQuByf3a5Nemkh1iFs+KTYZzu/y/aGHyZhWsRK8oIlQnN/ICbjqtJ eNOH46c5Zu11sEAvGNSxTsmWM4wc8NhzcyNUbbyQ0HsLSuN/k+E66K3e4/bV7LaY XvknQuZJm9LCSO5yKmr1vgDt8ynW/KMLZ7JjBtYuGWEj6aF4My7Asrfn30fVbqxM OyyjM1+xPJ08MbnLw2vWytWxPH5IEBaZ5jYwS7BXce+9cQgq5La1PR+ZA8rvv0Fj 2F7KAO6VcjidTDI9NrFh4K+7rL/goOMnouobmS/eYuvIUwdNiSA8FS4FGaVaIY+P iz7/0ujmG7uCBK83FZmOt0s82Ug9gRQ8G6K3JLbuGL5qOtF3T0xa/JCjSevjPOgr 3JrHeIglD560iow/jhqf =UJhz -----END PGP SIGNATURE----- Merge tag 'kbuild-fixes-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild Pull Kbuild fixes from Masahiro Yamada: - remove state comment in modpost - extend MAINTAINERS entry to cover modpost and more makefiles - fix missed building of SANCOV gcc-plugin - replace left-over 'bison' with $(YACC) - display short log when generating parer of genksyms * tag 'kbuild-fixes-v4.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: genksyms: fix typo in parse.tab.{c,h} generation rules kbuild: replace hardcoded bison in cmd_bison_h with $(YACC) gcc-plugins: fix build condition of SANCOV plugin MAINTAINERS: Update Kbuild entry with a few paths modpost: delete stale comment
This commit is contained in:
commit
c1c07416cd
|
@ -7667,9 +7667,11 @@ L: linux-kbuild@vger.kernel.org
|
|||
S: Maintained
|
||||
F: Documentation/kbuild/
|
||||
F: Makefile
|
||||
F: scripts/Makefile.*
|
||||
F: scripts/Kbuild*
|
||||
F: scripts/Makefile*
|
||||
F: scripts/basic/
|
||||
F: scripts/mk*
|
||||
F: scripts/mod/
|
||||
F: scripts/package/
|
||||
|
||||
KERNEL JANITORS
|
||||
|
|
|
@ -14,7 +14,7 @@ ifdef CONFIG_GCC_PLUGINS
|
|||
endif
|
||||
|
||||
ifdef CONFIG_GCC_PLUGIN_SANCOV
|
||||
ifeq ($(CFLAGS_KCOV),)
|
||||
ifeq ($(strip $(CFLAGS_KCOV)),)
|
||||
# It is needed because of the gcc-plugin.sh and gcc version checks.
|
||||
gcc-plugin-$(CONFIG_GCC_PLUGIN_SANCOV) += sancov_plugin.so
|
||||
|
||||
|
|
|
@ -196,7 +196,7 @@ $(obj)/%.tab.c: $(src)/%.y FORCE
|
|||
$(call if_changed,bison)
|
||||
|
||||
quiet_cmd_bison_h = YACC $@
|
||||
cmd_bison_h = bison -o/dev/null --defines=$@ -t -l $<
|
||||
cmd_bison_h = $(YACC) -o/dev/null --defines=$@ -t -l $<
|
||||
|
||||
$(obj)/%.tab.h: $(src)/%.y FORCE
|
||||
$(call if_changed,bison_h)
|
||||
|
|
|
@ -14,14 +14,14 @@ genksyms-objs := genksyms.o parse.tab.o lex.lex.o
|
|||
# so that 'bison: not found' will be displayed if it is missing.
|
||||
ifeq ($(findstring 1,$(KBUILD_ENABLE_EXTRA_GCC_CHECKS)),)
|
||||
|
||||
quiet_cmd_bison_no_warn = $(quet_cmd_bison)
|
||||
quiet_cmd_bison_no_warn = $(quiet_cmd_bison)
|
||||
cmd_bison_no_warn = $(YACC) --version >/dev/null; \
|
||||
$(cmd_bison) 2>/dev/null
|
||||
|
||||
$(obj)/parse.tab.c: $(src)/parse.y FORCE
|
||||
$(call if_changed,bison_no_warn)
|
||||
|
||||
quiet_cmd_bison_h_no_warn = $(quet_cmd_bison_h)
|
||||
quiet_cmd_bison_h_no_warn = $(quiet_cmd_bison_h)
|
||||
cmd_bison_h_no_warn = $(YACC) --version >/dev/null; \
|
||||
$(cmd_bison_h) 2>/dev/null
|
||||
|
||||
|
|
|
@ -330,14 +330,7 @@ static int parse_source_files(const char *objfile, struct md4_ctx *md)
|
|||
goto out;
|
||||
}
|
||||
|
||||
/* There will be a line like so:
|
||||
deps_drivers/net/dummy.o := \
|
||||
drivers/net/dummy.c \
|
||||
$(wildcard include/config/net/fastroute.h) \
|
||||
include/linux/module.h \
|
||||
|
||||
Sum all files in the same dir or subdirs.
|
||||
*/
|
||||
/* Sum all files in the same dir or subdirs. */
|
||||
while ((line = get_next_line(&pos, file, flen)) != NULL) {
|
||||
char* p = line;
|
||||
|
||||
|
|
Loading…
Reference in New Issue