diff options
author | Eyal Reizer <eyalreizer@googlemail.com> | 2011-04-21 16:54:12 +0000 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-04-21 21:45:42 +0200 |
commit | e376379a66bf3cd0aff1c8b09f7ca6d0132d190c (patch) | |
tree | b11c2f1dd4e8b83e525fda4e30338f950c7036e8 /recipes/wpa-supplicant/wpa-supplicant_git.bb | |
parent | d897ad1d332631603a070bc3cc13599caedc24ea (diff) | |
download | openembedded-e376379a66bf3cd0aff1c8b09f7ca6d0132d190c.tar.gz |
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.bb | 32 |
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 +} + + |