kumquat-buildroot/package/odhcploc/odhcploc.mk
Gustavo Zacarias 39c6d150ac odhcploc: 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-15 14:17:52 +02:00

21 lines
598 B
Makefile

################################################################################
#
# odhcploc
#
################################################################################
ODHCPLOC_VERSION = 20111021
ODHCPLOC_SITE = http://downloads.sourceforge.net/project/odhcploc/$(ODHCPLOC_VERSION)
ODHCPLOC_LICENSE = ISC
ODHCPLOC_LICENSE_FILES = COPYING
define ODHCPLOC_BUILD_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
endef
define ODHCPLOC_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
endef
$(eval $(generic-package))