Search Linux Wireless

[PATCH 07/15] initvals: allow to use additional CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Gabor Juhos <juhosg@xxxxxxxxxxx>
---
 Makefile |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 1194504..0df14df 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,8 @@
+CFLAGS=
+
+LOCAL_CFLAGS=$(CFLAGS)
 ifdef ATHEROS
-CFLAGS += -DATHEROS
+LOCAL_CFLAGS += -DATHEROS
 
 ATHEROS_DEPS += \
 	ar9280.ini		\
@@ -25,7 +28,7 @@ ATH9K_DEPS += \
 	ar9580_1p0_initvals.h
 
 initvals: $(ATH9K_DEPS) $(ATHEROS_DEPS) initvals.c
-	gcc $(CFLAGS) -o $@ $@.c
+	gcc $(LOCAL_CFLAGS) -o $@ $@.c
 
 all: initvals
 
-- 
1.7.2.1

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux