summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-13 19:13:12 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-15 14:16:38 +0200
commit72be5e10879ab545010e95fc06f69fe9924519e8 (patch)
tree10b001a3b2533e1ffae1dec843c02cf6abc6e538
parent7da80ec2c3c0e433fe0a3b6757d1018160d6a972 (diff)
downloadbuildroot-72be5e10879ab545010e95fc06f69fe9924519e8.tar.gz
buildroot-72be5e10879ab545010e95fc06f69fe9924519e8.zip
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>
-rw-r--r--package/zlog/zlog.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/zlog/zlog.mk b/package/zlog/zlog.mk
index a60e1b0dca..4f7f46928d 100644
--- a/package/zlog/zlog.mk
+++ b/package/zlog/zlog.mk
@@ -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))
OpenPOWER on IntegriCloud