• David Woodhouse's avatar
    modsign: Handle signing key in source tree · 3ee550f1
    David Woodhouse authored
    Since commit 1329e8cc ("modsign: Extract signing cert from
    CONFIG_MODULE_SIG_KEY if needed"), the build system has carefully coped
    with the signing key being specified as a relative path in either the
    source or or the build trees.
    However, the actual signing of modules has not worked if the filename
    is relative to the source tree.
    Fix that by moving the config_filename helper into scripts/Kbuild.include
    so that it can be used from elsewhere, and then using it in the top-level
    Makefile to find the signing key file.
    Kill the intermediate $(MODPUBKEY) and $(MODSECKEY) variables too, while
    we're at it. There's no need for them.
    Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
    Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
Last commit
Last update
Kconfig Loading commit data...
Makefile Loading commit data...
system_certificates.S Loading commit data...
system_keyring.c Loading commit data...