Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] include/keys/system_keyring.h: fix building error | Date | Sat, 19 Jan 2013 01:02:46 +0000 |
| |
Cong Ding <dinggnu@gmail.com> wrote:
> When I am doing "make randconfig", it causes the following building error if > CONFIG_SYSTEM_TRUSTED_KEYRING is not defined and CONFIG_MODULE_SIG is defined.
Can you tell me what you're doing your build upon?
> -#ifdef CONFIG_SYSTEM_TRUSTED_KEYRING > +#if defined(CONFIG_SYSTEM_TRUSTED_KEYRING) || defined(CONFIG_MODULE_SIG)
This isn't the right way to do it: CONFIG_MODULE_SIG should require CONFIG_SYSTEM_TRUSTED_KEYRING to be "=y" otherwise you don't get the .c file either. Can you check that it isn't "=m"?
David
| |