make: export MIPS_ELF_ROOT in Makefile.buildtest subtargets

This commit is contained in:
Kaspar Schleiser 2017-02-08 21:48:35 +01:00 committed by Neil Jones
parent d09fd777fc
commit 64c12da8f5

View File

@ -63,6 +63,7 @@ buildtest:
WERROR=$${WERROR} \ WERROR=$${WERROR} \
LTO=$${LTO} \ LTO=$${LTO} \
TOOLCHAIN=$${TOOLCHAIN} \ TOOLCHAIN=$${TOOLCHAIN} \
MIPS_ELF_ROOT=$${MIPS_ELF_ROOT} \
$(MAKE) -j$(NPROC) clean all 2>&1) ; \ $(MAKE) -j$(NPROC) clean all 2>&1) ; \
if [ "$${?}" = "0" ]; then \ if [ "$${?}" = "0" ]; then \
${COLOR_ECHO} "${COLOR_GREEN}success${COLOR_RESET}"; \ ${COLOR_ECHO} "${COLOR_GREEN}success${COLOR_RESET}"; \
@ -97,6 +98,7 @@ buildtest:
BINDIRBASE=$${BINDIRBASE} \ BINDIRBASE=$${BINDIRBASE} \
RIOTNOLINK=$${RIOTNOLINK} \ RIOTNOLINK=$${RIOTNOLINK} \
RIOT_VERSION=$${RIOT_VERSION} \ RIOT_VERSION=$${RIOT_VERSION} \
MIPS_ELF_ROOT=$${MIPS_ELF_ROOT} \
$(MAKE) clean-intermediates 2>&1 >/dev/null || true; \ $(MAKE) clean-intermediates 2>&1 >/dev/null || true; \
done; \ done; \
$${BUILDTESTOK} $${BUILDTESTOK}
@ -133,6 +135,7 @@ info-buildsizes:
RIOTCPU=$${RIOTCPU} \ RIOTCPU=$${RIOTCPU} \
RIOTPKG=$${RIOTPKG} \ RIOTPKG=$${RIOTPKG} \
BINDIRBASE=$${BINDIRBASE} \ BINDIRBASE=$${BINDIRBASE} \
MIPS_ELF_ROOT=$${MIPS_ELF_ROOT} \
$(MAKE) info-buildsize 2>/dev/null | tail -n-1 | cut -f-4)" "$${BOARD}"; \ $(MAKE) info-buildsize 2>/dev/null | tail -n-1 | cut -f-4)" "$${BOARD}"; \
done; done;
@ -150,6 +153,7 @@ info-buildsizes-diff:
RIOTCPU=$${RIOTCPU} \ RIOTCPU=$${RIOTCPU} \
RIOTPKG=$${RIOTPKG} \ RIOTPKG=$${RIOTPKG} \
BINDIRBASE=$${BINDIRBASE} \ BINDIRBASE=$${BINDIRBASE} \
MIPS_ELF_ROOT=$${MIPS_ELF_ROOT} \
$(MAKE) info-buildsize 2>/dev/null | tail -n-1 | cut -f-4; \ $(MAKE) info-buildsize 2>/dev/null | tail -n-1 | cut -f-4; \
done | \ done | \
while read -a OLD && read -a NEW; do \ while read -a OLD && read -a NEW; do \