Skip to contentSkip to conversation

wpa-supplicant: Build from git sources

PATCH In review Eyal Reizer 3 participants 4 messages Apr 21, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 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

---
 .../wpa-supplicant-git/99_wpa_supplicant           |    1 +
 .../wpa-supplicant-git/defaults-sane               |    8 +
 .../wpa-supplicant/wpa-supplicant-git/defconfig    |  422 ++++++++++++
 .../wpa-supplicant-git/wpa-supplicant.sh           |   85 +++
 .../wpa-supplicant-git/wpa_supplicant.conf         |  690 ++++++++++++++++++++
 .../wpa-supplicant-git/wpa_supplicant.conf-sane    |    7 +
 recipes/wpa-supplicant/wpa-supplicant_git.bb       |   30 +
 7 files changed, 1243 insertions(+), 0 deletions(-)
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/defconfig
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf-sane
 create mode 100644 recipes/wpa-supplicant/wpa-supplicant_git.bb
recipes/wpa-supplicant/wpa-supplicant-git/99_wpa_supplicant new file +1 -0
new file mode 100644
index 0000000..6ff4dd8
@@ -0,0 +1 @@
+d root root 0700 /var/run/wpa_supplicant none
recipes/wpa-supplicant/wpa-supplicant-git/defaults-sane new file +8 -0
new file mode 100644
index 0000000..67c4cbd
@@ -0,0 +1,8 @@
+# Useful flags:
+#  -i <ifname>          Interface (required, unless specified in config)
+#  -D <driver>          Wireless Driver
+#  -d                   Debugging (-dd for more)
+#  -q                   Quiet (-qq for more)
+
+CONFIG="/etc/wpa_supplicant.conf"
+OPTIONS="-i eth1 -D wext"
recipes/wpa-supplicant/wpa-supplicant-git/defconfig new file +422 -0

422 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa-supplicant.sh new file +85 -0

85 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf new file +690 -0

690 lines not on this page · raw message

recipes/wpa-supplicant/wpa-supplicant-git/wpa_supplicant.conf-sane new file +7 -0
new file mode 100644
index 0000000..c91ffe0
@@ -0,0 +1,7 @@
+ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=0
+update_config=1
+
+network={
+        key_mgmt=NONE
+}
recipes/wpa-supplicant/wpa-supplicant_git.bb new file +32 -0
new file mode 100644
index 0000000..7561320
@@ -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
+}
+
+
Signature · 1 line
1.7.0.4
Acked-by on v3 1/1
#1 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Eyal Reizer

* 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNr/IXMkyGM64RGpERAoAvAJ9Ewn8ERjg5arQndoaD89FkGXC7gACgr4Wf Mrnv48tP+kBezqL3zjDSDxg=
=pJp5
-----END PGP SIGNATURE-----

#2 lore raw

Thanks!

What is the next step for pushing these recipes (wpa-supplicant, hostapd, ti-wifi-utils) to the main repository?

Best Regards,
Eyal Reizer

Quoted 27 lines · Koen Kooi

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Eyal Reizer

* 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNr/IXMkyGM64RGpERAoAvAJ9Ewn8ERjg5arQndoaD89FkGXC7gACgr4Wf Mrnv48tP+kBezqL3zjDSDxg=
=pJp5
-----END PGP SIGNATURE-----

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw
Quoted 4 lines · ???????? ??????????

Thanks!

What is the next step for pushing these recipes (wpa-supplicant, hostapd, ti-wifi-utils) to the main repository?

They are in.

Signature · 1 line
Denys
Quoted 33 lines · Koen Kooi
Quoted 23 lines

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Eyal Reizer

* 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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNr/IXMkyGM64RGpERAoAvAJ9Ewn8ERjg5arQndoaD89FkGXC7gACgr4Wf Mrnv48tP+kBezqL3zjDSDxg=
=pJp5
-----END PGP SIGNATURE-----

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel