1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-24 22:13:52 +01:00

Merge pull request #16068 from aabadie/pr/tests/xfa_fix_build_in_docker

tests/xfa: use BUILDDEPS instead of overriding the all target
This commit is contained in:
Francisco 2021-02-23 13:49:59 +01:00 committed by GitHub
commit cb87c418f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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