aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/wpa-supplicant/wpa-supplicant_git.bb
diff options
context:
space:
mode:
authorEyal Reizer <eyalreizer@googlemail.com>2011-04-21 16:54:12 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:38 +0200
commitb9ef48a463f2d156e639b664cc0f2bf1a51a3a5b (patch)
tree17981a0e5c5f48ab8d8fab93cd41f28caf226683 /recipes/wpa-supplicant/wpa-supplicant_git.bb
parentb3228d1dab7d0cdd080f0d1db497152d1ee9b5ad (diff)
downloadopenembedded-b9ef48a463f2d156e639b664cc0f2bf1a51a3a5b.tar.gz
openembedded-b9ef48a463f2d156e639b664cc0f2bf1a51a3a5b.tar.bz2
openembedded-b9ef48a463f2d156e639b664cc0f2bf1a51a3a5b.zip
wpa-supplicant: Build from git sources
* Builds a new version 0.8.x which is not released yet as a zip file. This version has new features like WIFI-direct used in new mac80211 versions * Add PV * Update defconfig Signed-off-by: Eyal Reizer <eyalr@ti.com> Acked-by: Koen Kooi <k-kooi@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'recipes/wpa-supplicant/wpa-supplicant_git.bb')
-rw-r--r--recipes/wpa-supplicant/wpa-supplicant_git.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes/wpa-supplicant/wpa-supplicant_git.bb b/recipes/wpa-supplicant/wpa-supplicant_git.bb
new file mode 100644
index 0000000000..8f6971e0d6
--- /dev/null
+++ b/recipes/wpa-supplicant/wpa-supplicant_git.bb
@@ -0,0 +1,32 @@
+require wpa-supplicant-0.7.inc
+
+SRCREV = "b8fb017272ed4794339978c9fbc0e74571a44728"
+PR = "r0"
+PV = "0.7.3+0.8.0-rc"
+PR_append = "+gitr${SRCPV}"
+FILESPATHPKG =. "wpa-supplicant-git:"
+
+DEFAULT_PREFERENCE = "-1"
+
+SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
+ file://defconfig \
+ file://defaults-sane \
+ file://wpa-supplicant.sh \
+ file://wpa_supplicant.conf \
+ file://wpa_supplicant.conf-sane \
+ file://99_wpa_supplicant"
+
+S = "${WORKDIR}/git/wpa_supplicant"
+
+do_configure () {
+ install -m 0755 ${WORKDIR}/defconfig .config
+ echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
+ echo "LIBS += -L${STAGING_LIBDIR}" >> .config
+ echo "LIBS_p += -L${STAGING_LIBDIR}" >> .config
+ if [ "${@base_contains('COMBINED_FEATURES', 'madwifi', 1, 0, d)}" = "1" ]; then
+ echo "CONFIG_DRIVER_MADWIFI=y" >> .config
+ echo "CFLAGS += -I${STAGING_INCDIR}/madwifi-ng" >> .config
+ fi
+}
+
+