aboutsummaryrefslogtreecommitdiff
path: root/package/rt-tests
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:33 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commit636faaa0c1aafbd4fe906280848a04c08c55fc0f (patch)
tree1cab98e9452f183041679f1b6cec20f037a24347 /package/rt-tests
parent91e469a31c8ef7000cfb8b6ccfeb3838d2239252 (diff)
downloadbuildroot-636faaa0c1aafbd4fe906280848a04c08c55fc0f.tar.gz
buildroot-636faaa0c1aafbd4fe906280848a04c08c55fc0f.tar.bz2
rt-tests: 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>
Diffstat (limited to 'package/rt-tests')
-rw-r--r--package/rt-tests/rt-tests.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/rt-tests/rt-tests.mk b/package/rt-tests/rt-tests.mk
index 19f1021a8a..addc15e6fd 100644
--- a/package/rt-tests/rt-tests.mk
+++ b/package/rt-tests/rt-tests.mk
@@ -15,14 +15,14 @@ RT_TESTS_DEPENDENCIES = python
endif
define RT_TESTS_BUILD_CMDS
- $(MAKE) -C $(@D) \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
prefix=/usr
endef
define RT_TESTS_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) \
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) \
DESTDIR="$(TARGET_DIR)" \
prefix=/usr \
$(if $(BR2_PACKAGE_PYTHON),PYLIB=/usr/lib/python$(PYTHON_VERSION_MAJOR)/site-packages/,PYLIB="") \