Re: [PATCH] X.509: Fix certificate gathering again

From: Michal Marek
Date: Fri Feb 20 2015 - 08:52:22 EST


On 2015-02-19 13:26, David Howells wrote:
> Michal Marek <mmarek@xxxxxxx> wrote:
>
>> +X509_CERTIFICATES-y := $(wildcard *.x509)
>> +ifneq ($(objtree),$(srctree))
>> +X509_CERTIFICATES-y += $(wildcard $(srctree)/*.x509)
>> +endif
>> +X509_CERTIFICATES-$(CONFIG_MODULE_SIG) += signing_key.x509
>> +X509_CERTIFICATES := $(sort $(X509_CERTIFICATES-y))
>
> What will happen if there's a "signing_key.x509" in the source tree when O= is
> used?

It will fail. So the patch needs more work, thanks for the review.

Michal

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/