zlog: 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
7da80ec2c3
commit
72be5e1087
|
@ -11,16 +11,16 @@ ZLOG_LICENSE_FILES = COPYING
|
|||
ZLOG_INSTALL_STAGING = YES
|
||||
|
||||
define ZLOG_BUILD_CMDS
|
||||
$(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||
$(TARGET_MAKE_ENV) $(MAKE1) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
|
||||
-C $(@D) all
|
||||
endef
|
||||
|
||||
define ZLOG_INSTALL_STAGING_CMDS
|
||||
$(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
$(TARGET_MAKE_ENV) $(MAKE) PREFIX=$(STAGING_DIR)/usr -C $(@D) install
|
||||
endef
|
||||
|
||||
define ZLOG_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