diff --git a/tests/xfa/Makefile b/tests/xfa/Makefile index a7e0278506..9c32205d14 100644 --- a/tests/xfa/Makefile +++ b/tests/xfa/Makefile @@ -2,7 +2,13 @@ include ../Makefile.tests_common include $(RIOTBASE)/Makefile.include +# BUILD_IN_DOCKER needs special handling to keep target order +ifeq ($(BUILD_IN_DOCKER),1) +all: ..in-docker-container +else all: static-test +endif + static-test: $(ELFFILE) $(Q)TEST_STARTADDR=$$($(OBJDUMP) -t $< | grep -E '\sxfatest_const$$' | awk '{ printf "0x%s", $$1}'); \ TEST_ENDADDR=$$($(OBJDUMP) -t $< | grep -E '\sxfatest_const_end$$' | awk '{ printf "0x%s", $$1}'); \