From 62c7a9f13d5434f12ab20f15ce14699ba6b7e997 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Mon, 22 Feb 2021 18:02:42 +0100 Subject: [PATCH] tests/xfa: fix parallel build with BUILD_IN_DOCKER --- tests/xfa/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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}'); \