mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7
@ 2020-06-29  8:13 Oleksij Rempel
  2020-06-29  8:13 ` [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree Oleksij Rempel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Oleksij Rempel @ 2020-06-29  8:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 patches/ethtool-5.7/autogen.sh | 1 +
 rules/ethtool.in               | 1 +
 rules/ethtool.make             | 4 ++--
 3 files changed, 4 insertions(+), 2 deletions(-)
 create mode 120000 patches/ethtool-5.7/autogen.sh

diff --git a/patches/ethtool-5.7/autogen.sh b/patches/ethtool-5.7/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/ethtool-5.7/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/ethtool.in b/rules/ethtool.in
index 69f69d4e6..0ffe2907e 100644
--- a/rules/ethtool.in
+++ b/rules/ethtool.in
@@ -2,6 +2,7 @@
 config ETHTOOL
 	tristate
 	prompt "ethtool"
+	select LIBMNL
 	help
 	  Ethtool is a GNU/Linux net driver diagnostic and tuning
 	  tool.
diff --git a/rules/ethtool.make b/rules/ethtool.make
index dfeb8a735..649e3e580 100644
--- a/rules/ethtool.make
+++ b/rules/ethtool.make
@@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ETHTOOL) += ethtool
 #
 # Paths and names
 #
-ETHTOOL_VERSION	:= 5.1
-ETHTOOL_MD5	:= fe774357084027e3739f17ad76cbab4d
+ETHTOOL_VERSION	:= 5.7
+ETHTOOL_MD5	:= 3293642e58a205a834cbe5754df9c832
 ETHTOOL_SUFFIX	:= tar.xz
 ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
 ETHTOOL_URL	:= $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree
  2020-06-29  8:13 [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Oleksij Rempel
@ 2020-06-29  8:13 ` Oleksij Rempel
  2020-07-03  9:08   ` Michael Olbrich
  2020-06-29  9:17 ` [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Lucas Stach
  2020-07-06  6:31 ` [ptxdist] [APPLIED] " Michael Olbrich
  2 siblings, 1 reply; 7+ messages in thread
From: Oleksij Rempel @ 2020-06-29  8:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

Make it easier to work with git source shared between different BSPs.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
---
 rules/ethtool.make | 1 +
 1 file changed, 1 insertion(+)

diff --git a/rules/ethtool.make b/rules/ethtool.make
index 649e3e580..d8b957123 100644
--- a/rules/ethtool.make
+++ b/rules/ethtool.make
@@ -22,6 +22,7 @@ ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
 ETHTOOL_URL	:= $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
 ETHTOOL_SOURCE	:= $(SRCDIR)/$(ETHTOOL).$(ETHTOOL_SUFFIX)
 ETHTOOL_DIR	:= $(BUILDDIR)/$(ETHTOOL)
+ETHTOOL_BUILD_OOT := YES
 ETHTOOL_LICENSE := GPL-2.0-only
 ETHTOOL_LICENSE_FILES	:= \
 	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
-- 
2.27.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7
  2020-06-29  8:13 [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Oleksij Rempel
  2020-06-29  8:13 ` [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree Oleksij Rempel
@ 2020-06-29  9:17 ` Lucas Stach
  2020-07-03  9:06   ` Michael Olbrich
  2020-07-06  6:31 ` [ptxdist] [APPLIED] " Michael Olbrich
  2 siblings, 1 reply; 7+ messages in thread
From: Lucas Stach @ 2020-06-29  9:17 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

Hi Oleksij,

Am Montag, den 29.06.2020, 10:13 +0200 schrieb Oleksij Rempel:
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  patches/ethtool-5.7/autogen.sh | 1 +
>  rules/ethtool.in               | 1 +
>  rules/ethtool.make             | 4 ++--
>  3 files changed, 4 insertions(+), 2 deletions(-)
>  create mode 120000 patches/ethtool-5.7/autogen.sh
> 
> diff --git a/patches/ethtool-5.7/autogen.sh b/patches/ethtool-
> 5.7/autogen.sh
> new file mode 120000
> index 000000000..9f8a4cb7d
> --- /dev/null
> +++ b/patches/ethtool-5.7/autogen.sh
> @@ -0,0 +1 @@
> +../autogen.sh
> \ No newline at end of file

Why? Building from a release tarball without any patches shouldn't
require this.

Regards,
Lucas

> diff --git a/rules/ethtool.in b/rules/ethtool.in
> index 69f69d4e6..0ffe2907e 100644
> --- a/rules/ethtool.in
> +++ b/rules/ethtool.in
> @@ -2,6 +2,7 @@
>  config ETHTOOL
>  	tristate
>  	prompt "ethtool"
> +	select LIBMNL
>  	help
>  	  Ethtool is a GNU/Linux net driver diagnostic and tuning
>  	  tool.
> diff --git a/rules/ethtool.make b/rules/ethtool.make
> index dfeb8a735..649e3e580 100644
> --- a/rules/ethtool.make
> +++ b/rules/ethtool.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ETHTOOL) += ethtool
>  #
>  # Paths and names
>  #
> -ETHTOOL_VERSION	:= 5.1
> -ETHTOOL_MD5	:= fe774357084027e3739f17ad76cbab4d
> +ETHTOOL_VERSION	:= 5.7
> +ETHTOOL_MD5	:= 3293642e58a205a834cbe5754df9c832
>  ETHTOOL_SUFFIX	:= tar.xz
>  ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
>  ETHTOOL_URL	:= $(call ptx/mirror, KERNEL,
> ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7
  2020-06-29  9:17 ` [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Lucas Stach
@ 2020-07-03  9:06   ` Michael Olbrich
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2020-07-03  9:06 UTC (permalink / raw)
  To: ptxdist

On Mon, Jun 29, 2020 at 11:17:29AM +0200, Lucas Stach wrote:
> Hi Oleksij,
> 
> Am Montag, den 29.06.2020, 10:13 +0200 schrieb Oleksij Rempel:
> > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > ---
> >  patches/ethtool-5.7/autogen.sh | 1 +
> >  rules/ethtool.in               | 1 +
> >  rules/ethtool.make             | 4 ++--
> >  3 files changed, 4 insertions(+), 2 deletions(-)
> >  create mode 120000 patches/ethtool-5.7/autogen.sh
> > 
> > diff --git a/patches/ethtool-5.7/autogen.sh b/patches/ethtool-
> > 5.7/autogen.sh
> > new file mode 120000
> > index 000000000..9f8a4cb7d
> > --- /dev/null
> > +++ b/patches/ethtool-5.7/autogen.sh
> > @@ -0,0 +1 @@
> > +../autogen.sh
> > \ No newline at end of file
> 
> Why? Building from a release tarball without any patches shouldn't
> require this.

From his other patch, I'm guessing that he needed it while building from
git.

I dropped the autogen.sh no need to send this again.

Michael

> > diff --git a/rules/ethtool.in b/rules/ethtool.in
> > index 69f69d4e6..0ffe2907e 100644
> > --- a/rules/ethtool.in
> > +++ b/rules/ethtool.in
> > @@ -2,6 +2,7 @@
> >  config ETHTOOL
> >  	tristate
> >  	prompt "ethtool"
> > +	select LIBMNL
> >  	help
> >  	  Ethtool is a GNU/Linux net driver diagnostic and tuning
> >  	  tool.
> > diff --git a/rules/ethtool.make b/rules/ethtool.make
> > index dfeb8a735..649e3e580 100644
> > --- a/rules/ethtool.make
> > +++ b/rules/ethtool.make
> > @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ETHTOOL) += ethtool
> >  #
> >  # Paths and names
> >  #
> > -ETHTOOL_VERSION	:= 5.1
> > -ETHTOOL_MD5	:= fe774357084027e3739f17ad76cbab4d
> > +ETHTOOL_VERSION	:= 5.7
> > +ETHTOOL_MD5	:= 3293642e58a205a834cbe5754df9c832
> >  ETHTOOL_SUFFIX	:= tar.xz
> >  ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
> >  ETHTOOL_URL	:= $(call ptx/mirror, KERNEL,
> > ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree
  2020-06-29  8:13 ` [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree Oleksij Rempel
@ 2020-07-03  9:08   ` Michael Olbrich
  2020-07-03  9:18     ` Lucas Stach
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Olbrich @ 2020-07-03  9:08 UTC (permalink / raw)
  To: ptxdist

On Mon, Jun 29, 2020 at 10:13:26AM +0200, Oleksij Rempel wrote:
> Make it easier to work with git source shared between different BSPs.
> 
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> ---
>  rules/ethtool.make | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/rules/ethtool.make b/rules/ethtool.make
> index 649e3e580..d8b957123 100644
> --- a/rules/ethtool.make
> +++ b/rules/ethtool.make
> @@ -22,6 +22,7 @@ ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
>  ETHTOOL_URL	:= $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
>  ETHTOOL_SOURCE	:= $(SRCDIR)/$(ETHTOOL).$(ETHTOOL_SUFFIX)
>  ETHTOOL_DIR	:= $(BUILDDIR)/$(ETHTOOL)
> +ETHTOOL_BUILD_OOT := YES

I don't want to do this for random packages. I've done it for the kernel
because it's more complex there. But in this case you can just create a
rules/post/ethtool-fixup.make and add the line there locally.

Michael

>  ETHTOOL_LICENSE := GPL-2.0-only
>  ETHTOOL_LICENSE_FILES	:= \
>  	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263
> -- 
> 2.27.0
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree
  2020-07-03  9:08   ` Michael Olbrich
@ 2020-07-03  9:18     ` Lucas Stach
  0 siblings, 0 replies; 7+ messages in thread
From: Lucas Stach @ 2020-07-03  9:18 UTC (permalink / raw)
  To: ptxdist

Am Freitag, den 03.07.2020, 11:08 +0200 schrieb Michael Olbrich:
> On Mon, Jun 29, 2020 at 10:13:26AM +0200, Oleksij Rempel wrote:
> > Make it easier to work with git source shared between different BSPs.
> > 
> > Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> > ---
> >  rules/ethtool.make | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/rules/ethtool.make b/rules/ethtool.make
> > index 649e3e580..d8b957123 100644
> > --- a/rules/ethtool.make
> > +++ b/rules/ethtool.make
> > @@ -22,6 +22,7 @@ ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
> >  ETHTOOL_URL	:= $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))
> >  ETHTOOL_SOURCE	:= $(SRCDIR)/$(ETHTOOL).$(ETHTOOL_SUFFIX)
> >  ETHTOOL_DIR	:= $(BUILDDIR)/$(ETHTOOL)
> > +ETHTOOL_BUILD_OOT := YES
> 
> I don't want to do this for random packages. I've done it for the kernel
> because it's more complex there. But in this case you can just create a
> rules/post/ethtool-fixup.make and add the line there locally.

While looking into something different I noticed that the pre/post
rules mechanism isn't really documented anywhere, but I don't really
feel confident to type a documentation patch myself. Would be nice if
someone with a solid understanding of this could add some bits to the
ptxdist docs.

Regards
Lucas


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ptxdist] [APPLIED] ethtool: version bump 5.1 -> 5.7
  2020-06-29  8:13 [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Oleksij Rempel
  2020-06-29  8:13 ` [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree Oleksij Rempel
  2020-06-29  9:17 ` [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Lucas Stach
@ 2020-07-06  6:31 ` Michael Olbrich
  2 siblings, 0 replies; 7+ messages in thread
From: Michael Olbrich @ 2020-07-06  6:31 UTC (permalink / raw)
  To: ptxdist; +Cc: Oleksij Rempel

Thanks, applied as 81c735693d3dc500e78989991653dcc392cb07d1.

Michael

[sent from post-receive hook]

On Mon, 06 Jul 2020 08:31:57 +0200, Oleksij Rempel <o.rempel@pengutronix.de> wrote:
> Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
> Message-Id: <20200629081326.29335-1-o.rempel@pengutronix.de>
> [mol: drop autogen.sh]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/ethtool.in b/rules/ethtool.in
> index 69f69d4e67a9..0ffe2907eb11 100644
> --- a/rules/ethtool.in
> +++ b/rules/ethtool.in
> @@ -2,6 +2,7 @@
>  config ETHTOOL
>  	tristate
>  	prompt "ethtool"
> +	select LIBMNL
>  	help
>  	  Ethtool is a GNU/Linux net driver diagnostic and tuning
>  	  tool.
> diff --git a/rules/ethtool.make b/rules/ethtool.make
> index dfeb8a735192..649e3e580640 100644
> --- a/rules/ethtool.make
> +++ b/rules/ethtool.make
> @@ -15,8 +15,8 @@ PACKAGES-$(PTXCONF_ETHTOOL) += ethtool
>  #
>  # Paths and names
>  #
> -ETHTOOL_VERSION	:= 5.1
> -ETHTOOL_MD5	:= fe774357084027e3739f17ad76cbab4d
> +ETHTOOL_VERSION	:= 5.7
> +ETHTOOL_MD5	:= 3293642e58a205a834cbe5754df9c832
>  ETHTOOL_SUFFIX	:= tar.xz
>  ETHTOOL		:= ethtool-$(ETHTOOL_VERSION)
>  ETHTOOL_URL	:= $(call ptx/mirror, KERNEL, ../software/network/ethtool/$(ETHTOOL).$(ETHTOOL_SUFFIX))

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-07-06  6:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29  8:13 [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Oleksij Rempel
2020-06-29  8:13 ` [ptxdist] [PATCH v1 2/2] ethtool: build out-of-tree Oleksij Rempel
2020-07-03  9:08   ` Michael Olbrich
2020-07-03  9:18     ` Lucas Stach
2020-06-29  9:17 ` [ptxdist] [PATCH v1 1/2] ethtool: version bump 5.1 -> 5.7 Lucas Stach
2020-07-03  9:06   ` Michael Olbrich
2020-07-06  6:31 ` [ptxdist] [APPLIED] " Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox