meta-digi-arm: Remove the ath-prop-tools package.
This is an atheros proprietary package that contains the athtestcmd and wmiconfig applications. Neither of them are currently used. https://jira.digi.com/browse/DEL-1878 Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
parent
12cb58a565
commit
71cc373ebc
|
|
@ -1,84 +0,0 @@
|
|||
From: Javier Viguera <javier.viguera@digi.com>
|
||||
Date: Thu, 23 Jan 2014 14:01:05 +0100
|
||||
Subject: [PATCH] cross compile
|
||||
|
||||
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
|
||||
---
|
||||
ath6kl-tcmd/Makefile | 6 +++---
|
||||
ath6kl-wmiconfig/Makefile | 6 +++---
|
||||
libtcmd/Makefile | 8 ++++----
|
||||
libtcmd/nl80211.c | 2 +-
|
||||
4 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/ath6kl-tcmd/Makefile b/ath6kl-tcmd/Makefile
|
||||
index 733ac0f..44d06cf 100644
|
||||
--- a/ath6kl-tcmd/Makefile
|
||||
+++ b/ath6kl-tcmd/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
-CC = gcc
|
||||
-CFLAGS = -Wall -g
|
||||
+# CC = gcc
|
||||
+# CFLAGS = -Wall -g
|
||||
|
||||
-NLLIBNAME = libnl-1
|
||||
+NLLIBNAME = libnl-3.0
|
||||
LIBTCMD_DIR := ../libtcmd
|
||||
|
||||
LDLIBS += $(shell pkg-config --libs $(NLLIBNAME)) -lrt -ltcmd -lm
|
||||
diff --git a/ath6kl-wmiconfig/Makefile b/ath6kl-wmiconfig/Makefile
|
||||
index b9787a4..b074b6f 100644
|
||||
--- a/ath6kl-wmiconfig/Makefile
|
||||
+++ b/ath6kl-wmiconfig/Makefile
|
||||
@@ -5,12 +5,12 @@
|
||||
#------------------------------------------------
|
||||
-include .config
|
||||
|
||||
-LDFLAGS += $(shell pkg-config --cflags --libs glib-2.0)
|
||||
+# LDFLAGS += $(shell pkg-config --cflags --libs glib-2.0)
|
||||
|
||||
-CC :=$(ATH_CROSS_COMPILE_TYPE)gcc
|
||||
+# CC :=$(ATH_CROSS_COMPILE_TYPE)gcc
|
||||
APP=wmiconfig
|
||||
|
||||
-NLLIBNAME = libnl-1
|
||||
+NLLIBNAME = libnl-3.0
|
||||
LIBTCMD_DIR := ../libtcmd
|
||||
|
||||
LDFLAGS += -ltcmd $(shell pkg-config --libs $(NLLIBNAME)) -lrt
|
||||
diff --git a/libtcmd/Makefile b/libtcmd/Makefile
|
||||
index 22f17db..3e25c21 100644
|
||||
--- a/libtcmd/Makefile
|
||||
+++ b/libtcmd/Makefile
|
||||
@@ -1,7 +1,7 @@
|
||||
-CC = gcc
|
||||
-CFLAGS = -Wall -g
|
||||
+# CC = gcc
|
||||
+# CFLAGS = -Wall -g
|
||||
|
||||
-NLLIBNAME = libnl-1
|
||||
+NLLIBNAME = libnl-3.0
|
||||
WLAN_API = WLAN_API_NL80211
|
||||
WLAN_API_SRCS = nl80211.c
|
||||
|
||||
@@ -9,7 +9,7 @@ SRCS = os.c $(WLAN_API_SRCS) libtcmd.c
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
|
||||
LDLIBS += $(shell pkg-config --libs $(NLLIBNAME)) -lrt
|
||||
-CFLAGS += $(shell pkg-config --cflags $(NLLIBNAME)) -D$(WLAN_API)
|
||||
+CFLAGS += $(shell pkg-config --cflags $(NLLIBNAME)) -D$(WLAN_API) -DLIBNL_3
|
||||
|
||||
libtcmd.a: $(SRCS) $(OBJS)
|
||||
$(AR) rcs $@ $(OBJS)
|
||||
diff --git a/libtcmd/nl80211.c b/libtcmd/nl80211.c
|
||||
index ec44a68..783d172 100644
|
||||
--- a/libtcmd/nl80211.c
|
||||
+++ b/libtcmd/nl80211.c
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
int cb_ret;
|
||||
|
||||
-#ifdef LIBNL_2
|
||||
+#if defined(LIBNL_2) || defined(LIBNL_3)
|
||||
static inline struct nl_sock *nl_handle_alloc(void)
|
||||
{
|
||||
return nl_socket_alloc();
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
|
||||
SUMMARY = "Atheros' proprietary tools"
|
||||
LICENSE = "Proprietary"
|
||||
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Proprietary;md5=0557f9d92cf58f2ccdd50f62f8ac0b28"
|
||||
|
||||
DEPENDS = "libnl"
|
||||
|
||||
inherit pkgconfig
|
||||
|
||||
ATH_PROP_PN = "atheros-proprietary-v3.4p4-b3.4.0.158"
|
||||
|
||||
SRC_URI_src = " \
|
||||
http://build-linux.digi.com/yocto/downloads/${ATH_PROP_PN}.tar.gz;name=tarball \
|
||||
file://0001-cross-compile.patch \
|
||||
"
|
||||
SRC_URI_bin = " \
|
||||
file://athtestcmd \
|
||||
file://wmiconfig \
|
||||
"
|
||||
SRC_URI = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${SRC_URI_src}', '${SRC_URI_bin}', d)}"
|
||||
|
||||
SRC_URI[tarball.md5sum] = "5693e26e904ee7b829bc09a202b5fdcb"
|
||||
SRC_URI[tarball.sha256sum] = "9d29113a9832ee4960d75c42e0ba229c71ebfe1f1f6f7738b213329c6214e708"
|
||||
|
||||
S = "${@base_conditional('DIGI_INTERNAL_GIT', '1' , '${WORKDIR}/${ATH_PROP_PN}', '${WORKDIR}', d)}"
|
||||
|
||||
INSANE_SKIP_${PN} = "already-stripped"
|
||||
EXTRA_OEMAKE = ""
|
||||
|
||||
do_compile() {
|
||||
if [ "${DIGI_INTERNAL_GIT}" = "1" ]; then
|
||||
oe_runmake -C libtcmd
|
||||
oe_runmake -C ath6kl-tcmd
|
||||
oe_runmake -C ath6kl-wmiconfig
|
||||
fi
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sbindir}
|
||||
if [ "${DIGI_INTERNAL_GIT}" = "1" ]; then
|
||||
install -m 0755 ath6kl-tcmd/athtestcmd ${D}${sbindir}
|
||||
install -m 0755 ath6kl-wmiconfig/wmiconfig ${D}${sbindir}
|
||||
else
|
||||
install -m 0755 athtestcmd wmiconfig ${D}${sbindir}
|
||||
fi
|
||||
}
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
COMPATIBLE_MACHINE = "(ccardimx28|ccimx6)"
|
||||
|
|
@ -16,5 +16,5 @@ RDEPENDS_${PN} = "\
|
|||
wpa-supplicant-passphrase \
|
||||
"
|
||||
|
||||
RDEPENDS_${PN}_append_mxs = " iw ath-prop-tools"
|
||||
RDEPENDS_${PN}_append_mx6 = " iw ath-prop-tools"
|
||||
RDEPENDS_${PN}_append_mxs = " iw"
|
||||
RDEPENDS_${PN}_append_mx6 = " iw"
|
||||
|
|
|
|||
Loading…
Reference in New Issue