aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2009-04-08 09:04:53 +0000
committerJeremy Lainé <jeremy.laine@m4x.org>2009-04-08 09:04:53 +0000
commitdbe77279e47eb71f089ab3865589784d25c728be (patch)
tree51e2372c0d53f4d20839f3d15f5fa0eb9446acb8 /recipes/hostap
parent10e6229075b013fc8afebb58c624c0ec8ba7badc (diff)
downloadopenembedded-dbe77279e47eb71f089ab3865589784d25c728be.tar.gz
openembedded-dbe77279e47eb71f089ab3865589784d25c728be.tar.bz2
openembedded-dbe77279e47eb71f089ab3865589784d25c728be.zip
hostap-daemon-0.6.9: add patch to use LDFLAGS (fixes QA error)
Diffstat (limited to 'recipes/hostap')
-rw-r--r--recipes/hostap/hostap-daemon-0.6.9/ldflags.patch17
-rw-r--r--recipes/hostap/hostap-daemon_0.6.9.bb3
2 files changed, 19 insertions, 1 deletions
diff --git a/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch b/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch
new file mode 100644
index 0000000000..3c470e736b
--- /dev/null
+++ b/recipes/hostap/hostap-daemon-0.6.9/ldflags.patch
@@ -0,0 +1,17 @@
+diff -urN hostapd-0.6.9.orig/Makefile hostapd-0.6.9/hostapd/Makefile
+--- hostapd-0.6.9.orig/Makefile 2009-03-23 14:06:28.000000000 +0000
++++ hostapd-0.6.9/Makefile 2009-04-08 08:59:23.000000000 +0000
+@@ -555,11 +555,11 @@
+ for i in $(ALL); do cp $$i /usr/local/bin/$$i; done
+
+ hostapd: $(OBJS)
+- $(CC) -o hostapd $(OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o hostapd $(OBJS) $(LIBS)
+
+ OBJS_c = hostapd_cli.o ../src/common/wpa_ctrl.o ../src/utils/os_$(CONFIG_OS).o
+ hostapd_cli: $(OBJS_c)
+- $(CC) -o hostapd_cli $(OBJS_c)
++ $(CC) $(LDFLAGS) -o hostapd_cli $(OBJS_c)
+
+ NOBJS = nt_password_hash.o ../src/crypto/ms_funcs.o ../src/crypto/sha1.o ../src/crypto/rc4.o ../src/crypto/md5.o
+ NOBJS += ../src/crypto/crypto_openssl.o ../src/utils/os_$(CONFIG_OS).o
diff --git a/recipes/hostap/hostap-daemon_0.6.9.bb b/recipes/hostap/hostap-daemon_0.6.9.bb
index 8e9aa5d328..01830c5841 100644
--- a/recipes/hostap/hostap-daemon_0.6.9.bb
+++ b/recipes/hostap/hostap-daemon_0.6.9.bb
@@ -4,11 +4,12 @@ SECTION = "kernel/userland"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "libnl openssl"
-PR = "r1"
+PR = "r2"
DEFAULT_PREFERENCE = "-1"
SRC_URI = "http://hostap.epitest.fi/releases/hostapd-${PV}.tar.gz \
+ file://ldflags.patch;patch=1 \
file://defconfig \
file://init"