Skip to content

Commit c49eb5d

Browse files
Pavel RoskinLuis R. Rodriguez
Pavel Roskin
authored and
Luis R. Rodriguez
committed
CRDA and cross-compilation
On Thu, 2009-08-06 at 09:56 -0700, Luis R. Rodriguez wrote: > ACK, is it possible to make it simpler? OK, here's my take. We only need a native compiler to verify regulatory.bin. I believe it's orthogonal to building CRDA. For someone doing a cross-compilation, it makes no sense to verify the installed regulatory.bin. Thus, the verification should be optional. But the compilation of regdbdump shouldn't be. Firstly, it's installed by "make install". Secondly, somebody may want to verify regulatory.bin on the target system. Here's the patch: crda: make it possible to disable verification Signed-off-by: Pavel Roskin <proski@gnu.org>
1 parent a88a809 commit c49eb5d

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Makefile

+5-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ PUBKEY_DIR?=pubkeys
2424

2525
CFLAGS += -Wall -g
2626

27-
all: $(REG_BIN) crda intersect verify
27+
all: all_noverify verify
28+
29+
all_noverify: crda intersect regdbdump
2830

2931
ifeq ($(USE_OPENSSL),1)
3032
CFLAGS += -DUSE_OPENSSL `pkg-config --cflags openssl`
@@ -74,11 +76,12 @@ $(REG_BIN):
7476
$(NQ) ' EXIST ' $(REG_BIN)
7577
$(NQ)
7678
$(NQ) ERROR: The file: $(REG_BIN) is missing. You need this in place in order
77-
$(NQ) to build CRDA. You can get it from:
79+
$(NQ) to verify CRDA. You can get it from:
7880
$(NQ)
7981
$(NQ) $(REG_GIT)
8082
$(NQ)
8183
$(NQ) "Once cloned (no need to build) cp regulatory.bin to $(REG_BIN)"
84+
$(NQ) "Use \"make noverify\" to disable verification"
8285
$(NQ)
8386
$(Q) exit 1
8487

0 commit comments

Comments
 (0)