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

bindist: remove APPLICATION_MODULE duplicate

Fix APPLICATION_MODULE being duplicated in the command line during link.

This error is currently silently ignored by the linker.
This commit is contained in:
Joakim Nohlgård 2018-03-13 11:58:21 +01:00 committed by Gaëtan Harter
parent 7f91bfe96e
commit 2060492cf9

View File

@ -1,4 +1,5 @@
USEMODULE += $(BIN_USEMODULE)
# Avoid including APPLICATION_MODULE twice to prevent multiple definition errors
USEMODULE += $(filter-out $(APPLICATION_MODULE),$(BIN_USEMODULE))
DIST_FILES += $(BIN_USEMODULE:%=bin/$(BOARD)/%.a)