Commit 1ea7f657 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez

Allow distributions to specify a custom pubkeys dir

Distributions which need a custom pubkey dir can just
specify it upon build time.
Signed-off-by: 's avatarLuis R. Rodriguez <>
parent 89164c14
......@@ -16,8 +16,11 @@ UDEV_LEVEL=$(CRDA_UDEV_LEVEL)-
# a different location.
# Used locally to retrieve all pubkeys during build time
# If your distribution requires a custom pubkeys dir
# you must update this variable to reflect where the
# keys are put when building. For example you can run
# with make PUBKEY_DIR=/usr/lib/crda/pubkeys
CFLAGS += -Wall -g
......@@ -81,6 +84,7 @@ $(REG_BIN):
keys-%.c: utils/ $(wildcard $(PUBKEY_DIR)/*.pem)
$(NQ) ' GEN ' $@
$(NQ) ' Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
$(Q)./utils/ --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
%.o: %.c regdb.h
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment