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>
This commit is contained in:
parent
91e469a31c
commit
636faaa0c1
|
@ -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="") \
|
||||
|
|
Loading…
Reference in a new issue