mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
iproute2: tipc support needs 3.18+ headers
Fixes: http://autobuild.buildroot.net/results/173/173c9dbed6422a3cc4f9d1f998bc25ce2e9538c7/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
49565a282a
commit
c2a3d1f8d6
@ -17,8 +17,13 @@ ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
|||||||
IPROUTE2_DEPENDENCIES += busybox
|
IPROUTE2_DEPENDENCIES += busybox
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_PACKAGE_LIBMNL),y)
|
# tipc support needs 3.18+ headers and libmnl
|
||||||
|
ifeq ($(BR2_PACKAGE_LIBMNL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18),yy)
|
||||||
IPROUTE2_DEPENDENCIES += libmnl
|
IPROUTE2_DEPENDENCIES += libmnl
|
||||||
|
else
|
||||||
|
define IPROUTE2_DISABLE_TIPC
|
||||||
|
$(SED) '/HAVE_MNL/d' $(@D)/Config
|
||||||
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# If we've got iptables enable xtables support for tc
|
# If we've got iptables enable xtables support for tc
|
||||||
@ -57,6 +62,7 @@ define IPROUTE2_CONFIGURE_CMDS
|
|||||||
cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure
|
cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure
|
||||||
$(IPROUTE2_DISABLE_ARPD)
|
$(IPROUTE2_DISABLE_ARPD)
|
||||||
$(IPROUTE2_WITH_IPTABLES)
|
$(IPROUTE2_WITH_IPTABLES)
|
||||||
|
$(IPROUTE2_DISABLE_TIPC)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define IPROUTE2_BUILD_CMDS
|
define IPROUTE2_BUILD_CMDS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user