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:
parent
7f91bfe96e
commit
2060492cf9
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user