diff options
author | Bastian Krause <bst@pengutronix.de> | 2022-06-24 16:16:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-27 08:56:41 +0200 |
commit | 3244e7002d066db0b619bfac638102ef0402128b (patch) | |
tree | 37d8a5bccc43d4426213448045727158b424bde0 /crypto | |
parent | eb5102a9635d7be8e8a8617a88d169ff19c73d1e (diff) | |
download | barebox-3244e7002d066db0b619bfac638102ef0402128b.tar.gz |
crypto: skip make dependency for CONFIG_CRYPTO_RSA_KEY=__ENV__*
CONFIG_CRYPTO_RSA_KEY allows referring to environment variables, e.g.
__ENV__FOO tells barebox' rsatoc to use the value of the environment
variable "FOO".
There is no point in creating a make dependency for such values.
Actually looking into the environment variable and deciding whether it is
a PKCS#11 URI or a file seems unnecessarily complex. Let's filter out
these special values and leave the error handling to rsatoc.
Fixes: a05ac5545c ("crypto: simplify $(srctree)/ handling and remove config_filename macro")
Signed-off-by: Bastian Krause <bst@pengutronix.de>
Link: https://lore.barebox.org/20220624141632.380159-1-bst@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Makefile b/crypto/Makefile index 7e67f58bc7..762d7e543b 100644 --- a/crypto/Makefile +++ b/crypto/Makefile @@ -28,7 +28,7 @@ $(obj)/rsa.o: $(obj)/rsa-keys.h CONFIG_CRYPTO_RSA_KEY := $(CONFIG_CRYPTO_RSA_KEY:"%"=%) -ifneq ($(filter-out pkcs11:%, $(CONFIG_CRYPTO_RSA_KEY)),) +ifneq ($(filter-out pkcs11:% __ENV__%, $(CONFIG_CRYPTO_RSA_KEY)),) RSA_DEP := $(CONFIG_CRYPTO_RSA_KEY) endif |