CRDA and cross-compilation
authorPavel Roskin <proski@gnu.org>
Thu, 6 Aug 2009 17:45:07 +0000 (13:45 -0400)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Thu, 6 Aug 2009 19:21:08 +0000 (12:21 -0700)
commitc49eb5d1a93314b6a965ce90282f6a5ce7d0e5f6
treea275f186325855cac6300f109d70286578a75125
parenta88a8090f09ddc0a31e4e5409e9261ad6f9b1cf5
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>
Makefile