rs485conf: 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
61a237e98f
commit
a819d69f59
|
@ -10,11 +10,11 @@ RS485CONF_LICENSE = BSD-3c
|
|||
RS485CONF_LICENSE_FILES = LICENSE
|
||||
|
||||
define RS485CONF_BUILD_CMDS
|
||||
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
||||
endef
|
||||
|
||||
define RS485CONF_INSTALL_TARGET_CMDS
|
||||
$(MAKE) PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
|
Loading…
Reference in a new issue