Skip to content

Commit 473aec0

Browse files
committed
Merge tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
Pull Kbuild fixes from Masahiro Yamada: - Bring include/uapi/linux/nfc.h into the UAPI compile-test coverage - Revert the workaround of CONFIG_CC_IMPLICIT_FALLTHROUGH - Fix build errors in certs/Makefile * tag 'kbuild-fixes-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: certs: Fix build error when CONFIG_MODULE_SIG_KEY is empty certs: Fix build error when CONFIG_MODULE_SIG_KEY is PKCS#11 URI Revert "Makefile: Do not quote value for CONFIG_CC_IMPLICIT_FALLTHROUGH" usr/include/Makefile: add linux/nfc.h to the compile-test coverage
2 parents 3689f9f + e6340b6 commit 473aec0

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -778,7 +778,7 @@ stackp-flags-$(CONFIG_STACKPROTECTOR_STRONG) := -fstack-protector-strong
778778
KBUILD_CFLAGS += $(stackp-flags-y)
779779

780780
KBUILD_CFLAGS-$(CONFIG_WERROR) += -Werror
781-
KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH:"%"=%)
781+
KBUILD_CFLAGS += $(KBUILD_CFLAGS-y) $(CONFIG_CC_IMPLICIT_FALLTHROUGH)
782782

783783
ifdef CONFIG_CC_IS_CLANG
784784
KBUILD_CPPFLAGS += -Qunused-arguments

certs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ $(obj)/x509.genkey:
6868
endif # CONFIG_MODULE_SIG_KEY
6969

7070
# If CONFIG_MODULE_SIG_KEY isn't a PKCS#11 URI, depend on it
71-
ifneq ($(filter-out pkcs11:%, %(CONFIG_MODULE_SIG_KEY)),)
71+
ifneq ($(filter-out pkcs11:%, $(CONFIG_MODULE_SIG_KEY)),)
7272
X509_DEP := $(CONFIG_MODULE_SIG_KEY)
7373
endif
7474

7575
$(obj)/system_certificates.o: $(obj)/signing_key.x509
7676

7777
$(obj)/signing_key.x509: $(X509_DEP) $(obj)/extract-cert FORCE
78-
$(call if_changed,extract_certs,$(if $(X509_DEP),$<,$(CONFIG_MODULE_SIG_KEY)))
78+
$(call if_changed,extract_certs,$(if $(CONFIG_MODULE_SIG_KEY),$(if $(X509_DEP),$<,$(CONFIG_MODULE_SIG_KEY)),""))
7979
endif # CONFIG_MODULE_SIG
8080

8181
targets += signing_key.x509

usr/include/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ no-header-test += linux/hdlc/ioctl.h
3434
no-header-test += linux/ivtv.h
3535
no-header-test += linux/kexec.h
3636
no-header-test += linux/matroxfb.h
37-
no-header-test += linux/nfc.h
3837
no-header-test += linux/omap3isp.h
3938
no-header-test += linux/omapfb.h
4039
no-header-test += linux/patchkey.h

0 commit comments

Comments
 (0)