1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

tests/xfa: fix parallel build with BUILD_IN_DOCKER

This commit is contained in:
Alexandre Abadie 2021-02-22 18:02:42 +01:00
parent 24185611d1
commit 62c7a9f13d
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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}'); \