From be7094563fab76a9ff224f5d6d389f6359c03d94 Mon Sep 17 00:00:00 2001
From: Florian Fainelli <florian@openwrt.org>
Date: Sun, 2 Mar 2008 17:32:11 +0000
Subject: [PATCH] Same for batman advanced, use EXTRA_CFLAGS

SVN-Revision: 10542
---
 net/batman-advanced/patches/001-extra_cflags.patch | 12 ++++++++++++
 1 file changed, 12 insertions(+)
 create mode 100644 net/batman-advanced/patches/001-extra_cflags.patch

diff --git a/net/batman-advanced/patches/001-extra_cflags.patch b/net/batman-advanced/patches/001-extra_cflags.patch
new file mode 100644
index 000000000..d80b93833
--- /dev/null
+++ b/net/batman-advanced/patches/001-extra_cflags.patch
@@ -0,0 +1,12 @@
+diff -urN batman-adv-r963/batman-adv-kernelland/batman-core/Makefile.kbuild batman-adv-r963.new/batman-adv-kernelland/batman-core/Makefile.kbuild
+--- batman-adv-r963/batman-adv-kernelland/batman-core/Makefile.kbuild	2008-01-28 08:47:47.000000000 +0100
++++ batman-adv-r963.new/batman-adv-kernelland/batman-core/Makefile.kbuild	2008-03-02 18:35:39.000000000 +0100
+@@ -23,7 +23,7 @@
+ -include $(TOPDIR)/Rules.make
+ endif
+ 
+-CFLAGS += -DREVISION_VERSION=\"\ rv$(REVISION)\"
++EXTRA_CFLAGS += -DREVISION_VERSION=\"\ rv$(REVISION)\"
+ 
+ obj-m += batman-adv-core.o
+ batman-adv-core-objs := batman-adv-main.o batman-adv-proc.o batman-adv-send.o batman-adv-log.o batman-adv-routing.o batman-adv-interface.o batman-adv-device.o batman-adv-ttable.o bitarray.o hash.o ring_buffer.o
-- 
2.30.2