Skip to contentSkip to conversation

iw: build version 0.9.22 from git sources

PATCH Superseded Eyal Reizer 3 participants 3 messages Sep 26, 2011

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iw: build version 0.9.22 from git sources

---
 recipes/iw/iw_git.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes/iw/iw_git.bb
recipes/iw/iw_git.bb new file +29 -0
new file mode 100644
index 0000000..e4d0cd5
@@ -0,0 +1,29 @@
+DESCRIPTION = "nl80211 based CLI configuration utility for wireless devices"
+HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/iw"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "BSD"
+
+SRCREV = "0a236ef5f8e4ba7218aac7d0cdacf45673d5b35c"
+PR = "r1"
+PV = "0.9.22"
+PR_append = "+gitr${SRCPV}"
+
+DEPENDS = "libnl pkgconfig"
+
+SRC_URI = " \
+	git://git.sipsolutions.net/iw.git;protocol=git \
+	"
+CFLAGS += "-DCONFIG_LIBNL20"
+
+S = "${WORKDIR}/git/"
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+}
+
+
Signature · 1 line
1.7.0.4
#1 lore raw

Dear Eyal,

Am Montag, den 26.09.2011, 11:27 +0300 schrieb Eyal Reizer:

how has this recipe been tested?

Quoted 12 lines
---
 recipes/iw/iw_git.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)
 create mode 100644 recipes/iw/iw_git.bb
recipes/iw/iw_git.bb new file +0 -0
new file mode 100644
index 0000000..e4d0cd5

recipes/iw/iw_git.bb line 5

Quoted 5 lines
recipes/iw/iw_git.bb new file +5 -0
@@ -0,0 +1,29 @@
+DESCRIPTION = "nl80211 based CLI configuration utility for wireless devices"
+HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/iw"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "BSD"

Could you create a inc file to not duplicate the header and the overrides below? Or can 0.9.20 be removed?

recipes/iw/iw_git.bb line 8

Quoted 3 lines
recipes/iw/iw_git.bb new file +3 -0
+
+SRCREV = "0a236ef5f8e4ba7218aac7d0cdacf45673d5b35c"
+PR = "r1"

Please start with r0.

Quoted 11 lines
recipes/iw/iw_git.bb new file +11 -0
+PV = "0.9.22"
+PR_append = "+gitr${SRCPV}"
+
+DEPENDS = "libnl pkgconfig"
+
+SRC_URI = " \
+	git://git.sipsolutions.net/iw.git;protocol=git \
+	"
+CFLAGS += "-DCONFIG_LIBNL20"
+
+S = "${WORKDIR}/git/"

recipes/iw/iw_git.bb line 29

Quoted 10 lines
recipes/iw/iw_git.bb new file +10 -0
+
+do_compile() {
+	oe_runmake
+}
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+}
+
+

Please remove the new lines at the end.

Thanks,

Paul

#2 lore raw

Dear Paul,

Quoted 9 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Paul Menzel
Sent: Monday, September 26, 2011 12:07 PM
To: [email protected]
Cc: Eyal Reizer
Subject: Re: [oe] [PATCH] iw: build version 0.9.22 from git sources

Quoted 6 lines

Dear Eyal,

Am Montag, den 26.09.2011, 11:27 +0300 schrieb Eyal Reizer:

how has this recipe been tested?

We have tested this newer iw version on am37x-evm and am180x-evm with a newer version of NLCP that supports wowlan (wake on wireless lan). The support for this feature was added in this newer version.

Quoted 16 lines
Quoted 5 lines
---
 recipes/iw/iw_git.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)  create mode

100644

recipes/iw/iw_git.bb new file

Quoted 3 lines

recipes/iw/iw_git.bb

recipes/iw/iw_git.bb new file renamed from recipes/iw/iw_git.bb +0 -0

mode

recipes/iw/iw_git.bb line 1

Quoted 5 lines

100644 index 0000000..e4d0cd5

recipes/iw/iw_git.bb new file +1 -0
@@ -0,0 +1,29 @@
+DESCRIPTION = "nl80211 based CLI configuration utility for wireless

devices"

Quoted 8 lines

recipes/iw/iw_git.bb line 5

Quoted 4 lines
recipes/iw/iw_git.bb new file +4 -0
+HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/iw"
+SECTION = "base"
+PRIORITY = "optional"
+LICENSE = "BSD"

Could you create a inc file to not duplicate the header and the overrides below? Or can 0.9.20 be removed?

This version is an evolution of the iw product and can actually can replace the 0.9.20 one unless there are users that prefer to lock to 0.9.20 public zip. Not sure if it is worth creating an inc file as I do not believe we should hold multiple versions of this recipe.
We should maybe have just one that pulls from a zip and one that pulls from git for cases where the latest development version is needed.

Quoted 6 lines

recipes/iw/iw_git.bb line 8

Quoted 3 lines
recipes/iw/iw_git.bb new file +3 -0
+
+SRCREV = "0a236ef5f8e4ba7218aac7d0cdacf45673d5b35c"
+PR = "r1"

Please start with r0.

Ok, I will submit a new version for that.

Quoted 15 lines
Quoted 15 lines
recipes/iw/iw_git.bb new file +15 -0
+PV = "0.9.22"
+PR_append = "+gitr${SRCPV}"
+
+DEPENDS = "libnl pkgconfig"
+
+SRC_URI = " \
+	git://git.sipsolutions.net/iw.git;protocol=git \
+	"
+CFLAGS += "-DCONFIG_LIBNL20"
+
+S = "${WORKDIR}/git/"
+
+do_compile() {
+	oe_runmake
+}
Quoted 9 lines

recipes/iw/iw_git.bb line 29

Quoted 6 lines
recipes/iw/iw_git.bb new file +6 -0
+
+do_install() {
+	oe_runmake DESTDIR=${D} install
+}
+
+

Please remove the new lines at the end.

Ok, I will submit a new version for that

Quoted 4 lines

Thanks,

Paul