mdk3: pass our CFLAGS
authorFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:57:07 +0000 (00:57 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Sat, 8 Mar 2014 00:57:07 +0000 (00:57 +0000)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 39812

net/mdk3/Makefile
net/mdk3/patches/001-radiotap_needs_types_h.patch
net/mdk3/patches/010-fix-dependencies.patch

index 735523e56ef26a2be59680c96ef8dd6716dfc96c..8d752b9938ad997509d200b80d512596a9b903d4 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2009-2010 OpenWrt.org
+# Copyright (C) 2009-2014 OpenWrt.org
 #
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mdk3
 PKG_VERSION:=v6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 PKG_MD5SUM:=67705a814ded2a2e6f70522ca0dc6da9
 
 PKG_BUILD_DIR:=$(BUILD_DIR)/mdk3-$(PKG_VERSION)
@@ -33,6 +33,9 @@ define Package/mdk3/description
   Tool to exploit wireless vulnerabilities
 endef
 
+MAKE_FLAGS += \
+       $(TARGET_CONFIGURE_OPTS)
+
 define Package/mdk3/install
        $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/mdk3 $(1)/usr/sbin/
index 77a155a81f73fd6236fc7d21194998064e9077e3..3f2b60cf85e55cb8e6879658a93294e688331738 100644 (file)
@@ -1,6 +1,5 @@
-diff -urN mdk3-v6/osdep/radiotap/radiotap-parser.c mdk3-v6.new/osdep/radiotap/radiotap-parser.c
---- mdk3-v6/osdep/radiotap/radiotap-parser.c   2009-08-16 18:16:14.000000000 +0200
-+++ mdk3-v6.new/osdep/radiotap/radiotap-parser.c       2009-11-01 10:30:08.000000000 +0100
+--- a/osdep/radiotap/radiotap-parser.c
++++ b/osdep/radiotap/radiotap-parser.c
 @@ -18,6 +18,7 @@
  
  #include <stdio.h>
index fe8d7aabb3e2e85c6f7d8d3c574e59e9a5fe5173..e55a1c90bf0af309ef495f9151e00cc51d4aae88 100644 (file)
@@ -2,8 +2,8 @@
  Makefile |    4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
---- mdk3-v6.orig/Makefile
-+++ mdk3-v6/Makefile
+--- a/Makefile
++++ b/Makefile
 @@ -18,8 +18,8 @@ osd:
  $(LIBOSD):
        $(MAKE) -C $(OSD)