summaryrefslogtreecommitdiff
path: root/hostap
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-11-20 18:40:03 +0000
committerPhil Blundell <philb@gnu.org>2004-11-20 18:40:03 +0000
commit24acc1c39a2b985ed640915ba543d027bdf093ab (patch)
tree700fe10ebc614438c74b4d8ab2ea792be5760eaf /hostap
parent9dcb9009967a5390a1d8effb5709d25e68bb0460 (diff)
fix hostap-wpa-supplicant-nossl build problems
BKrev: 419f8f83XrjD_HnzuoBCMWjhewvMoQ
Diffstat (limited to 'hostap')
-rw-r--r--hostap/hostap-wpa-supplicant-nossl/wpa-defconfig4
-rw-r--r--hostap/hostap-wpa-supplicant_0.2.5.inc29
2 files changed, 33 insertions, 0 deletions
diff --git a/hostap/hostap-wpa-supplicant-nossl/wpa-defconfig b/hostap/hostap-wpa-supplicant-nossl/wpa-defconfig
index e69de29bb2..bf5d5e28e7 100644
--- a/hostap/hostap-wpa-supplicant-nossl/wpa-defconfig
+++ b/hostap/hostap-wpa-supplicant-nossl/wpa-defconfig
@@ -0,0 +1,4 @@
+CONFIG_DRIVER_WEXT=y
+CONFIG_WIRELESS_EXTENSION=y
+CONFIG_DRIVER_HOSTAP=y
+
diff --git a/hostap/hostap-wpa-supplicant_0.2.5.inc b/hostap/hostap-wpa-supplicant_0.2.5.inc
index e69de29bb2..0b67d3fe24 100644
--- a/hostap/hostap-wpa-supplicant_0.2.5.inc
+++ b/hostap/hostap-wpa-supplicant_0.2.5.inc
@@ -0,0 +1,29 @@
+SECTION = "kernel/userland"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+
+SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
+ file://wpa-defconfig \
+ file://wpa_supplicant_default.conf"
+
+S = "${WORKDIR}/wpa_supplicant-${PV}"
+
+do_compile() {
+ unset CFLAGS
+ base_do_compile
+}
+
+do_configure() {
+ install -m 0644 ${WORKDIR}/wpa-defconfig .config
+}
+
+do_install() {
+ install -d ${D}/${sysconfdir} ${D}/${bindir}
+ install -m 0644 wpa_supplicant.conf ${D}/${sysconfdir}/wpa_supplicant.conf.sample
+ install -m 0644 ../wpa_supplicant_default.conf ${D}/${sysconfdir}/wpa_supplicant.conf
+ install -m 0755 wpa_passphrase ${D}/${bindir}
+ install -m 0755 wpa_cli ${D}/${bindir}
+ install -m 0755 wpa_supplicant ${D}/${bindir}
+}
+