mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-11 13:22:33 +00:00
mk: trigger CUSTOM_TARGET_DEPS from 'all' rule
Build description files that feature both an actual target and CUSTOM_TARGET_DEPS happen to re-link the target each time whenever one of the CUSTOM_TARGET_DEPS is phony, e.g., gems/src/app/menu_view/. The re-linking of the actual target is of course not desired. By triggering the creation of CUSTOM_TARGET_DEPS from 'all:' instead of '$(TARGET)', the specified files do not implicitly become link dependencies of the target. Issue #3972
This commit is contained in:
parent
b6d313bbe6
commit
6326774056
@ -183,7 +183,7 @@ $(LINK_ITEMS) $(TARGET): $(HOST_TOOLS)
|
||||
#
|
||||
# Trigger build of additional program specific targets
|
||||
#
|
||||
$(TARGET): $(CUSTOM_TARGET_DEPS)
|
||||
all: $(CUSTOM_TARGET_DEPS)
|
||||
|
||||
LD_CMD += -Wl,--whole-archive -Wl,--start-group
|
||||
LD_CMD += $(LINK_ITEMS_BRIEF)
|
||||
|
Loading…
x
Reference in New Issue
Block a user