Same for batman advanced, use EXTRA_CFLAGS
authorFlorian Fainelli <florian@openwrt.org>
Sun, 2 Mar 2008 17:32:11 +0000 (17:32 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sun, 2 Mar 2008 17:32:11 +0000 (17:32 +0000)
SVN-Revision: 10542

net/batman-advanced/patches/001-extra_cflags.patch [new file with mode: 0644]

diff --git a/net/batman-advanced/patches/001-extra_cflags.patch b/net/batman-advanced/patches/001-extra_cflags.patch
new file mode 100644 (file)
index 0000000..d80b938
--- /dev/null
@@ -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