aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/hostap/hostap-daemon_git.bb
diff options
context:
space:
mode:
authorEyal Reizer <eyalreizer@googlemail.com>2011-04-21 16:53:31 +0000
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:38 +0200
commitb3228d1dab7d0cdd080f0d1db497152d1ee9b5ad (patch)
treee6333880a4acfe422281b9bc35223faf92a30779 /recipes/hostap/hostap-daemon_git.bb
parent7582bb960ca2de3542a133686923a43e3e4c6084 (diff)
downloadopenembedded-b3228d1dab7d0cdd080f0d1db497152d1ee9b5ad.tar.gz
openembedded-b3228d1dab7d0cdd080f0d1db497152d1ee9b5ad.tar.bz2
openembedded-b3228d1dab7d0cdd080f0d1db497152d1ee9b5ad.zip
hostap-daemon: 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 * As the recipe is very similar to the 0.7.3 version, I have created a common include file shared between the 0.7.3 version and the git version * Updated the 0.7.3 recipe to use this include file and bumped the PR * 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/hostap/hostap-daemon_git.bb')
-rw-r--r--recipes/hostap/hostap-daemon_git.bb26
1 files changed, 26 insertions, 0 deletions
diff --git a/recipes/hostap/hostap-daemon_git.bb b/recipes/hostap/hostap-daemon_git.bb
new file mode 100644
index 0000000000..cf0e6e9483
--- /dev/null
+++ b/recipes/hostap/hostap-daemon_git.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "User space daemon for extended IEEE 802.11 management"
+
+require hostap-daemon-0.7.inc
+
+PR = "r0"
+SRCREV = "b8fb017272ed4794339978c9fbc0e74571a44728"
+PV = "0.7.3+0.8.0-rc"
+PR_append = "gitr${SRCPV}"
+FILESPATHPKG =. "hostap-daemon-git:"
+
+DEFAULT_PREFERENCE = "-1"
+
+S = "${WORKDIR}/git/hostapd"
+
+SRC_URI = "git://w1.fi/srv/git/hostap.git;protocol=git \
+ file://defconfig \
+ file://init"
+
+S = "${WORKDIR}/git/hostapd"
+
+do_configure() {
+ install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+ echo "CFLAGS += -I${STAGING_INCDIR}" >> .config
+ echo "LIBS += -L${STAGING_LIBDIR}" >> .config
+}
+