mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
iproute2: add dependency on host-bison
iproute2 requires bison, so we add the necessary dependency. In addition, in order for iproute2 to find bison, we need to pass $(TARGET_MAKE_ENV). Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
2f55f8e440
commit
fad8177bb3
@ -10,6 +10,8 @@ IPROUTE2_TARGET_SBINS = ctstat genl ifstat ip lnstat nstat routef routel rtacct
|
|||||||
IPROUTE2_LICENSE = GPLv2
|
IPROUTE2_LICENSE = GPLv2
|
||||||
IPROUTE2_LICENSE_FILES = COPYING
|
IPROUTE2_LICENSE_FILES = COPYING
|
||||||
|
|
||||||
|
IPROUTE2_DEPENDENCIES += host-bison
|
||||||
|
|
||||||
# If both iproute2 and busybox are selected, make certain we win
|
# If both iproute2 and busybox are selected, make certain we win
|
||||||
# the fight over who gets to have their utils actually installed.
|
# the fight over who gets to have their utils actually installed.
|
||||||
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
ifeq ($(BR2_PACKAGE_BUSYBOX),y)
|
||||||
@ -42,11 +44,12 @@ endef
|
|||||||
|
|
||||||
define IPROUTE2_BUILD_CMDS
|
define IPROUTE2_BUILD_CMDS
|
||||||
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
|
$(SED) 's/$$(CCOPTS)//' $(@D)/netem/Makefile
|
||||||
$(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" CCOPTS="$(TARGET_CFLAGS) -D_GNU_SOURCE" -C $(@D)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define IPROUTE2_INSTALL_TARGET_CMDS
|
define IPROUTE2_INSTALL_TARGET_CMDS
|
||||||
$(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" SBINDIR=/sbin \
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" \
|
||||||
|
SBINDIR=/sbin \
|
||||||
DOCDIR=/usr/share/doc/iproute2-$(IPROUTE2_VERSION) \
|
DOCDIR=/usr/share/doc/iproute2-$(IPROUTE2_VERSION) \
|
||||||
MANDIR=/usr/share/man install
|
MANDIR=/usr/share/man install
|
||||||
# Wants bash
|
# Wants bash
|
||||||
|
Loading…
x
Reference in New Issue
Block a user