Makefile.modinst (4db9c2e3d055cc11e64b5c9bbaa70b5a552adf0f) | Makefile.modinst (129ab0d2d9f38b9d43df35235fc66c6740d6928b) |
---|---|
1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Installing modules 4# ========================================================================== 5 6PHONY := __modinst 7__modinst: 8 --- 52 unchanged lines hidden (view full) --- 61 62endif 63 64# 65# Signing 66# Don't stop modules_install even if we can't sign external modules. 67# 68ifeq ($(CONFIG_MODULE_SIG_ALL),y) | 1# SPDX-License-Identifier: GPL-2.0 2# ========================================================================== 3# Installing modules 4# ========================================================================== 5 6PHONY := __modinst 7__modinst: 8 --- 52 unchanged lines hidden (view full) --- 61 62endif 63 64# 65# Signing 66# Don't stop modules_install even if we can't sign external modules. 67# 68ifeq ($(CONFIG_MODULE_SIG_ALL),y) |
69CONFIG_MODULE_SIG_KEY := $(CONFIG_MODULE_SIG_KEY:"%"=%) | |
70sig-key := $(if $(wildcard $(CONFIG_MODULE_SIG_KEY)),,$(srctree)/)$(CONFIG_MODULE_SIG_KEY) 71quiet_cmd_sign = SIGN $@ 72 cmd_sign = scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(sig-key) certs/signing_key.x509 $@ \ 73 $(if $(KBUILD_EXTMOD),|| true) 74else 75quiet_cmd_sign := 76 cmd_sign := : 77endif --- 38 unchanged lines hidden --- | 69sig-key := $(if $(wildcard $(CONFIG_MODULE_SIG_KEY)),,$(srctree)/)$(CONFIG_MODULE_SIG_KEY) 70quiet_cmd_sign = SIGN $@ 71 cmd_sign = scripts/sign-file $(CONFIG_MODULE_SIG_HASH) $(sig-key) certs/signing_key.x509 $@ \ 72 $(if $(KBUILD_EXTMOD),|| true) 73else 74quiet_cmd_sign := 75 cmd_sign := : 76endif --- 38 unchanged lines hidden --- |