diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 15 |
1 files changed, 14 insertions, 1 deletions
| @@ -437,7 +437,9 @@ endif | |||
| 437 | PHONY += asm-generic | 437 | PHONY += asm-generic |
| 438 | asm-generic: | 438 | asm-generic: |
| 439 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ | 439 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ |
| 440 | obj=arch/$(SRCARCH)/include/generated/asm | 440 | src=asm obj=arch/$(SRCARCH)/include/generated/asm |
| 441 | $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.asm-generic \ | ||
| 442 | src=uapi/asm obj=arch/$(SRCARCH)/include/generated/uapi/asm | ||
| 441 | 443 | ||
| 442 | # To make sure we do not include .config for any of the *config targets | 444 | # To make sure we do not include .config for any of the *config targets |
| 443 | # catch them early, and hand them over to scripts/kconfig/Makefile | 445 | # catch them early, and hand them over to scripts/kconfig/Makefile |
| @@ -717,6 +719,17 @@ endif # INSTALL_MOD_STRIP | |||
| 717 | export mod_strip_cmd | 719 | export mod_strip_cmd |
| 718 | 720 | ||
| 719 | 721 | ||
| 722 | ifeq ($(CONFIG_MODULE_SIG),y) | ||
| 723 | MODSECKEY = ./signing_key.priv | ||
| 724 | MODPUBKEY = ./signing_key.x509 | ||
| 725 | export MODPUBKEY | ||
| 726 | mod_sign_cmd = perl $(srctree)/scripts/sign-file $(MODSECKEY) $(MODPUBKEY) | ||
| 727 | else | ||
| 728 | mod_sign_cmd = true | ||
| 729 | endif | ||
| 730 | export mod_sign_cmd | ||
| 731 | |||
| 732 | |||
| 720 | ifeq ($(KBUILD_EXTMOD),) | 733 | ifeq ($(KBUILD_EXTMOD),) |
| 721 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ | 734 | core-y += kernel/ mm/ fs/ ipc/ security/ crypto/ block/ |
| 722 | 735 | ||
