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

make: add test-input-hash target

This commit is contained in:
Kaspar Schleiser 2019-01-15 22:33:15 +01:00
parent 513c8821ca
commit 6e5c56608f

View File

@ -580,6 +580,15 @@ test: $(TEST_DEPS)
test/available:
$(Q)test -n "$(strip $(TESTS))"
# this target only makes sense if an ELFFILE is actually created, thus guard by
# RIOTNOLINK="".
ifeq (,$(RIOTNOLINK))
test-input-hash: $(TESTS) $(ELFFILE)
sha1sum $^ > $(BINDIR)/test-input-hash.sha1
else
test-input-hash:
true
endif
# Default OBJDUMPFLAGS for platforms which do not specify it:
OBJDUMPFLAGS ?= -S -D -h