]> xenbits.xensource.com Git - osstest/rumprun.git/commitdiff
Fix "buildtest" target.
authorAntti Kantee <pooka@iki.fi>
Fri, 16 Oct 2015 02:08:26 +0000 (02:08 +0000)
committerAntti Kantee <pooka@iki.fi>
Fri, 16 Oct 2015 02:08:26 +0000 (02:08 +0000)
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

index 355fd026c82b4fb78ea145ba04c2e936a61f026f..779994f331675ca23c76f5d3bf7f5e81292592b2 100644 (file)
@@ -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