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>
This commit is contained in:
parent
c223dcb165
commit
39c6d150ac
|
@ -10,11 +10,11 @@ ODHCPLOC_LICENSE = ISC
|
|||
ODHCPLOC_LICENSE_FILES = COPYING
|
||||
|
||||
define ODHCPLOC_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
||||
endef
|
||||
|
||||
define ODHCPLOC_INSTALL_TARGET_CMDS
|
||||
$(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=/usr DESTDIR=$(TARGET_DIR) -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in a new issue