X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=certs%2FMakefile;h=359239a0ee9e32b7bd11cfa08a9f1224f2a3156b;hb=937654ce497fb6e977a8c52baee5f7d9616302d9;hp=b6db52ebf0beb166f290899519515fccc72e4786;hpb=6bab076a3d2ff4298483c1a3b77162811b451863;p=linux-2.6-microblaze.git diff --git a/certs/Makefile b/certs/Makefile index b6db52ebf0be..359239a0ee9e 100644 --- a/certs/Makefile +++ b/certs/Makefile @@ -33,6 +33,16 @@ endif # CONFIG_SYSTEM_TRUSTED_KEYRING clean-files := x509_certificate_list .x509.list x509_revocation_list ifeq ($(CONFIG_MODULE_SIG),y) + SIGN_KEY = y +endif + +ifeq ($(CONFIG_IMA_APPRAISE_MODSIG),y) +ifeq ($(CONFIG_MODULES),y) + SIGN_KEY = y +endif +endif + +ifdef SIGN_KEY ############################################################################### # # If module signing is requested, say by allyesconfig, but a key has not been