* [Buildroot] [PATCH] iproute2: bump to version 4.1.0
@ 2015-06-27 11:15 Gustavo Zacarias
2015-06-28 12:06 ` Thomas Petazzoni
0 siblings, 1 reply; 3+ messages in thread
From: Gustavo Zacarias @ 2015-06-27 11:15 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
...c-make-build-conditional-on-having-libmnl.patch | 33 ++++++++++++++++++++++
package/iproute2/iproute2.hash | 2 +-
package/iproute2/iproute2.mk | 6 +++-
3 files changed, 39 insertions(+), 2 deletions(-)
create mode 100644 package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
diff --git a/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch b/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
new file mode 100644
index 0000000..ccd1daf
--- /dev/null
+++ b/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
@@ -0,0 +1,33 @@
+From db17dd9728b77485f26abb1ac5fcda65130f4a8d Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Sat, 27 Jun 2015 08:08:51 -0300
+Subject: [PATCHv2 iproute2] tipc: make build conditional on having libmnl
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ tipc/Makefile | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/tipc/Makefile b/tipc/Makefile
+index 4bda8c5..b3ef9b9 100644
+--- a/tipc/Makefile
++++ b/tipc/Makefile
+@@ -1,3 +1,6 @@
++include ../Config
++ifeq ($(HAVE_MNL),y)
++
+ TIPCOBJ=bearer.o \
+ cmdl.o link.o \
+ media.o misc.o \
+@@ -8,6 +11,8 @@ TIPCOBJ=bearer.o \
+ TARGETS=tipc
+ LDLIBS += -lmnl
+
++endif
++
+ all: $(TARGETS) $(LIBS)
+
+ tipc: $(TIPCOBJ)
+--
+2.3.6
+
diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash
index 336d6b6..659e275 100644
--- a/package/iproute2/iproute2.hash
+++ b/package/iproute2/iproute2.hash
@@ -1,2 +1,2 @@
# From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc
-sha256 5cd06eb1050b858b308b65705725042bb566fd261135e35a73dafb48cd632618 iproute2-4.0.0.tar.xz
+sha256 d1326696c6a8f81ba66aaf48d858005cf280c81d3284d8d2c99748e3d0746146 iproute2-4.1.0.tar.xz
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index a8f4400..dabc8b4 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-IPROUTE2_VERSION = 4.0.0
+IPROUTE2_VERSION = 4.1.0
IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz
IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf
@@ -17,6 +17,10 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
IPROUTE2_DEPENDENCIES += busybox
endif
+ifeq ($(BR2_PACKAGE_LIBMNL),y)
+IPROUTE2_DEPENDENCIES += libmnl
+endif
+
# If we've got iptables enable xtables support for tc
ifeq ($(BR2_PACKAGE_IPTABLES)x$(BR2_STATIC_LIBS),yx)
IPROUTE2_DEPENDENCIES += iptables
--
2.3.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] iproute2: bump to version 4.1.0
2015-06-27 11:15 [Buildroot] [PATCH] iproute2: bump to version 4.1.0 Gustavo Zacarias
@ 2015-06-28 12:06 ` Thomas Petazzoni
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-06-28 12:06 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Sat, 27 Jun 2015 08:15:32 -0300, Gustavo Zacarias wrote:
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> ...c-make-build-conditional-on-having-libmnl.patch | 33 ++++++++++++++++++++++
> package/iproute2/iproute2.hash | 2 +-
> package/iproute2/iproute2.mk | 6 +++-
> 3 files changed, 39 insertions(+), 2 deletions(-)
> create mode 100644 package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
Applied, thanks. Please remember to submit the libmnl related patch
upstream.
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH] iproute2: bump to version 4.1.0
@ 2015-06-27 10:30 Gustavo Zacarias
0 siblings, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2015-06-27 10:30 UTC (permalink / raw)
To: buildroot
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
...c-make-build-conditional-on-having-libmnl.patch | 30 ++++++++++++++++++++++
package/iproute2/iproute2.hash | 2 +-
package/iproute2/iproute2.mk | 2 +-
3 files changed, 32 insertions(+), 2 deletions(-)
create mode 100644 package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
diff --git a/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch b/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
new file mode 100644
index 0000000..b03c8fb
--- /dev/null
+++ b/package/iproute2/0001-tipc-make-build-conditional-on-having-libmnl.patch
@@ -0,0 +1,30 @@
+From e06edc4c74569fe6bfce9f5113a780bdc1ab11ad Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Sat, 27 Jun 2015 07:24:03 -0300
+Subject: [PATCH iproute2] tipc: make build conditional on having libmnl
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ Makefile | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/Makefile b/Makefile
+index 67176be..8153445 100644
+--- a/Makefile
++++ b/Makefile
+@@ -41,7 +41,11 @@ WFLAGS += -Wmissing-declarations -Wold-style-definition -Wformat=2
+ CFLAGS := $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) $(CFLAGS)
+ YACCFLAGS = -d -t -v
+
+-SUBDIRS=lib ip tc bridge misc netem genl tipc man
++SUBDIRS=lib ip tc bridge misc netem genl man
++
++ifeq ($(HAVE_MNL),y)
++SUBDIRS += tipc
++endif
+
+ LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
+ LDLIBS += $(LIBNETLINK)
+--
+2.3.6
+
diff --git a/package/iproute2/iproute2.hash b/package/iproute2/iproute2.hash
index 336d6b6..659e275 100644
--- a/package/iproute2/iproute2.hash
+++ b/package/iproute2/iproute2.hash
@@ -1,2 +1,2 @@
# From https://kernel.org/pub/linux/utils/net/iproute2/sha256sums.asc
-sha256 5cd06eb1050b858b308b65705725042bb566fd261135e35a73dafb48cd632618 iproute2-4.0.0.tar.xz
+sha256 d1326696c6a8f81ba66aaf48d858005cf280c81d3284d8d2c99748e3d0746146 iproute2-4.1.0.tar.xz
diff --git a/package/iproute2/iproute2.mk b/package/iproute2/iproute2.mk
index a8f4400..023b7bf 100644
--- a/package/iproute2/iproute2.mk
+++ b/package/iproute2/iproute2.mk
@@ -4,7 +4,7 @@
#
################################################################################
-IPROUTE2_VERSION = 4.0.0
+IPROUTE2_VERSION = 4.1.0
IPROUTE2_SOURCE = iproute2-$(IPROUTE2_VERSION).tar.xz
IPROUTE2_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/net/iproute2
IPROUTE2_DEPENDENCIES = host-bison host-flex host-pkgconf
--
2.3.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-28 12:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-27 11:15 [Buildroot] [PATCH] iproute2: bump to version 4.1.0 Gustavo Zacarias
2015-06-28 12:06 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2015-06-27 10:30 Gustavo Zacarias
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox