From ea4b36b2b2b9ce92a80699506c29cf81977dc037 Mon Sep 17 00:00:00 2001 From: Antti Kantee Date: Fri, 16 Oct 2015 02:08:26 +0000 Subject: [PATCH] Fix "buildtest" target. nb. it's no longer run automatically from the platform Makefile since it requires a "make install" before it can be expected to work. --- platform/Makefile.inc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/Makefile.inc b/platform/Makefile.inc index 355fd02..779994f 100644 --- a/platform/Makefile.inc +++ b/platform/Makefile.inc @@ -34,16 +34,15 @@ platformlibs: ${COREDIR}/${PLATFORM}/libbmk_core.a ${RUMPUSERDIR}/${PLATFORM}/li compiler_rt: ${COMPILERRTDIR}/${PLATFORM}/libcompiler_rt.a .PHONY: buildtest -buildtest: ../../tests/hello/hello.c ${MAINOBJ} commonlibs - ${APP_TOOLS_CC} -g -o $@ $< -lrumprun_tester +buildtest: ../../tests/hello/hello.c + ${TOOLTUPLE}-gcc -g -o $@ $< -lrumprun_tester @echo Testing baking ... @export RUMPRUN_WARNING_STFU=please ; for board in \ $(shell RUMPRUN_WARNING_STFU=please \ - ${APP_TOOLS_DIR}/rumpbake list \ + rumpbake list \ | awk '/^${PLATFORM}/{print $$1}'); do \ echo $${board} ; \ - ${APP_TOOLS_DIR}/rumpbake $${board} $@.$${board} $@ \ - || exit 1;\ + rumpbake $${board} $@.$${board} $@ || exit 1;\ done @echo done -- 2.39.5