diff options
author | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-08-12 16:08:37 -0700 |
---|---|---|
committer | Luis R. Rodriguez <lrodriguez@atheros.com> | 2008-08-12 16:08:37 -0700 |
commit | 7b156c03da94e3e4ce62b35a79095c3eaa169150 (patch) | |
tree | 7a13a2be8c5bd7caa26942bc2aa2020f2620843f /Makefile | |
parent | ce8711f3ec2bc90890b2e3fcd7f03dfecccba0ac (diff) | |
download | crda-7b156c03da94e3e4ce62b35a79095c3eaa169150.tar.gz crda-7b156c03da94e3e4ce62b35a79095c3eaa169150.tar.bz2 crda-7b156c03da94e3e4ce62b35a79095c3eaa169150.zip |
Use your KLIB_BUILD path for nl80211 headers.
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1,10 +1,15 @@ +ifeq ($(origin $(KLIB)), undefined) +KLIB:= /lib/modules/$(shell uname -r) +endif +KLIB_BUILD ?= $(KLIB)/build + CFLAGS += -Wall -g3 #CFLAGS += -DUSE_OPENSSL #LDFLAGS += -lssl ifneq ($(COMPAT_TREE),) CFLAGS += -I$(COMPAT_TREE)/include/ endif -CFLAGS += -DUSE_GCRYPT +CFLAGS += -I$(KLIB_BUILD)/include -DUSE_GCRYPT LDFLAGS += -lgcrypt CRDA_LIB="/usr/lib//crda/" |