btfilter: update to atheros version v3.4p4

https://jira.digi.com/browse/DEL-412

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-04-16 18:55:03 +02:00
parent d88b0270ff
commit 8bc63584e6
3 changed files with 13 additions and 13 deletions

View File

@ -10,10 +10,10 @@ Signed-off-by: Javier Viguera <javier.viguera@digi.com>
3 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/Makefile b/Makefile
index 797dc51..66f469e 100644
index 115ad33..3170f65 100644
--- a/Makefile
+++ b/Makefile
@@ -55,17 +55,23 @@ LIBS= -ldbus-1 -lpthread -lrt -lbluetooth
@@ -56,17 +56,23 @@ LIBS= -ldbus-1 -lpthread -lrt -lbluetooth
NL1FOUND := $(shell $(PKG_CONFIG) --atleast-version=1 libnl-1 && echo Y)
NL2FOUND := $(shell $(PKG_CONFIG) --atleast-version=2 libnl-2.0 && echo Y)
@ -61,7 +61,7 @@ index 4689044..2957f2e 100644
int iw_debug = 0;
diff --git a/nl80211_utils.h b/nl80211_utils.h
index e58767a..e8c482a 100644
index 6a0dbd7..6bbeb2c 100644
--- a/nl80211_utils.h
+++ b/nl80211_utils.h
@@ -11,7 +11,7 @@

View File

@ -1,5 +1,5 @@
From: Javier Viguera <javier.viguera@digi.com>
Date: Tue, 7 Aug 2012 14:00:03 +0200
Date: Tue, 16 Apr 2013 18:46:31 +0200
Subject: [PATCH] cross-compile
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
@ -8,10 +8,10 @@ Signed-off-by: Javier Viguera <javier.viguera@digi.com>
1 file changed, 27 insertions(+), 16 deletions(-)
diff --git a/Makefile b/Makefile
index 66f469e..f485b01 100644
index 3170f65..22137d7 100644
--- a/Makefile
+++ b/Makefile
@@ -24,13 +24,13 @@ SBINDIR ?= $(PREFIX)/sbin
@@ -25,13 +25,13 @@ SBINDIR ?= $(PREFIX)/sbin
MANDIR ?= $(PREFIX)/share/man
PKG_CONFIG ?= pkg-config
@ -32,7 +32,7 @@ index 66f469e..f485b01 100644
SOURCES=abtfilt_main.c \
abtfilt_wlan.c \
abtfilt_core.c \
@@ -39,19 +39,19 @@ SOURCES=abtfilt_main.c \
@@ -40,19 +40,19 @@ SOURCES=abtfilt_main.c \
nl80211_utils.c\
btfilter_core.c
@ -61,7 +61,7 @@ index 66f469e..f485b01 100644
NL1FOUND := $(shell $(PKG_CONFIG) --atleast-version=1 libnl-1 && echo Y)
NL2FOUND := $(shell $(PKG_CONFIG) --atleast-version=2 libnl-2.0 && echo Y)
@@ -79,6 +79,13 @@ endif
@@ -80,6 +80,13 @@ endif
LIBS += $(shell $(PKG_CONFIG) --libs $(NLLIBNAME))
CFLAGS += $(shell $(PKG_CONFIG) --cflags $(NLLIBNAME))
@ -73,9 +73,9 @@ index 66f469e..f485b01 100644
+LIBS += $(shell $(PKG_CONFIG) --libs bluez)
+CFLAGS += $(shell $(PKG_CONFIG) --cflags bluez)
ifdef USE_HCIUTILS
SOURCES += abtfilt_bluez_hciutils.c
@@ -120,3 +127,7 @@ all: $(OBJECTS)
ifdef BOARD_HAS_ATH_WLAN_AR6004
CFLAGS += -DMULTI_WLAN_CHAN_SUPPORT
@@ -125,3 +132,7 @@ all: $(OBJECTS)
clean:
rm -f $(FILTERAPP) $(OBJECTS)

View File

@ -14,8 +14,8 @@ SRC_URI = "${DIGI_MIRROR}/${PN}-${PV}.tar.bz2 \
file://0002-cross-compile.patch \
file://bluez-init"
SRC_URI[md5sum] = "149b025f7a43f1f3abfa12462c48559a"
SRC_URI[sha256sum] = "bbb358ce25ec36b32f99e66036ff52f375f3c1272b1425fafbef2c240a55d1a4"
SRC_URI[md5sum] = "06a26d3a368c33b508d660ea84d476ee"
SRC_URI[sha256sum] = "b1af73003b622189b66d51911d429d6d205ac9227ec8278c8572ca0c68c7d5f3"
inherit update-rc.d