kumquat-buildroot/package/mrouted/mrouted.mk
Gustavo Zacarias 4d4c32bc9b mrouted: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-10-22 15:19:24 +02:00

28 lines
710 B
Makefile

################################################################################
#
# mrouted
#
################################################################################
MROUTED_VERSION = 3.9.7
MROUTED_SITE = $(call github,troglobit,mrouted,$(MROUTED_VERSION))
MROUTED_DEPENDENCIES = host-bison
MROUTED_LICENSE = BSD-3c
MROUTED_LICENSE_FILES = LICENSE
define MROUTED_CONFIGURE_CMDS
(cd $(@D); \
$(TARGET_MAKE_ENV) $(@D)/configure --enable-rsrr \
)
endef
define MROUTED_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
endef
define MROUTED_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) prefix=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
$(eval $(generic-package))