Skip to contentSkip to conversation

hostapd: Remove add-sysroot-to-gcc.patch

PATCH New Otavio Salvador 1 participant 2 messages Jul 28, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 hostapd: Remove add-sysroot-to-gcc.patch

The patch has not been available in the 2.4 version form and thus the recipe was unbuildable.

Fix by removing the patch file, which is unused, and the reference for it from the recipe.

---
 .../hostapd/hostapd-2.2/add-sysroot-to-gcc.patch   | 40 ----------------------
 .../recipes-connectivity/hostapd/hostapd_2.4.bb    |  1 -
 2 files changed, 41 deletions(-)
 delete mode 100644 meta-oe/recipes-connectivity/hostapd/hostapd-2.2/add-sysroot-to-gcc.patch
meta-oe/recipes-connectivity/hostapd/hostapd-2.2/add-sysroot-to-gcc.patch deleted +0 -40
deleted file mode 100644
index d1134b9..0000000
@@ -1,40 +0,0 @@
-Upstream-Status: Pending
-
-We should make sure that sysroot is used by gcc instead of assuming
-hardcoded locations for include paths
-
-Signed-off-by: Roy Li <[email protected]>
----
- src/drivers/drivers.mak | 2 +-
- src/drivers/drivers.mk  | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/drivers/drivers.mak b/src/drivers/drivers.mak
-index 7e175f4..950701f 100644
---- a/src/drivers/drivers.mak
-+++ b/src/drivers/drivers.mak
-@@ -35,7 +35,7 @@ NEED_RFKILL=y
- ifdef CONFIG_LIBNL32
-   DRV_LIBS += -lnl-3
-   DRV_LIBS += -lnl-genl-3
--  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
-+  DRV_CFLAGS += -DCONFIG_LIBNL20 -I=/usr/include/libnl3
- else
-   ifdef CONFIG_LIBNL_TINY
-     DRV_LIBS += -lnl-tiny
-diff --git a/src/drivers/drivers.mk b/src/drivers/drivers.mk
-index db8561a..c93e88d 100644
---- a/src/drivers/drivers.mk
-+++ b/src/drivers/drivers.mk
-@@ -30,7 +30,7 @@ NEED_RFKILL=y
- ifdef CONFIG_LIBNL32
-   DRV_LIBS += -lnl-3
-   DRV_LIBS += -lnl-genl-3
--  DRV_CFLAGS += -DCONFIG_LIBNL20 -I/usr/include/libnl3
-+  DRV_CFLAGS += -DCONFIG_LIBNL20 -I=/usr/include/libnl3
- else
-   ifdef CONFIG_LIBNL_TINY
-     DRV_LIBS += -lnl-tiny
--- 
-2.1.2
-
meta-oe/recipes-connectivity/hostapd/hostapd_2.4.bb +0 -1
index 84b1128..36c0cd4 100644
@@ -18,7 +18,6 @@ SRC_URI = " \
     file://defconfig \
     file://init \
     file://hostapd.service \
-    file://add-sysroot-to-gcc.patch;patchdir=.. \
 "
 
 S = "${WORKDIR}/hostapd-${PV}/hostapd"
Signature · 1 line
2.4.6
#1 lore raw

PATCH 2/2 hostapd: Drop DEFAULT_PREFERRENCE setting

The 2.4 version is the only version available so makes no sense to set it as lower preference.

---
 meta-oe/recipes-connectivity/hostapd/hostapd_2.4.bb | 2 --
 1 file changed, 2 deletions(-)
meta-oe/recipes-connectivity/hostapd/hostapd_2.4.bb +0 -2
index 36c0cd4..901c7ea 100644
@@ -11,8 +11,6 @@ INITSCRIPT_NAME = "hostapd"
 SYSTEMD_SERVICE_${PN} = "hostapd.service"
 SYSTEMD_AUTO_ENABLE_${PN} = "disable"
 
-DEFAULT_PREFERENCE = "-1"
-
 SRC_URI = " \
     http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
     file://defconfig \
Signature · 1 line
2.4.6