diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.host | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index ab5980f91714..133edfae5b8a 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host | |||
@@ -96,8 +96,9 @@ quiet_cmd_host-cmulti = HOSTLD $@ | |||
96 | cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ | 96 | cmd_host-cmulti = $(HOSTCC) $(HOSTLDFLAGS) -o $@ \ |
97 | $(addprefix $(obj)/,$($(@F)-objs)) \ | 97 | $(addprefix $(obj)/,$($(@F)-objs)) \ |
98 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 98 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
99 | $(host-cmulti): $(obj)/%: $(host-cobjs) FORCE | 99 | $(host-cmulti): FORCE |
100 | $(call if_changed,host-cmulti) | 100 | $(call if_changed,host-cmulti) |
101 | $(call multi_depend, $(host-cmulti), , -objs) | ||
101 | 102 | ||
102 | # Create .o file from a single .c file | 103 | # Create .o file from a single .c file |
103 | # host-cobjs -> .o | 104 | # host-cobjs -> .o |
@@ -113,8 +114,9 @@ quiet_cmd_host-cxxmulti = HOSTLD $@ | |||
113 | $(foreach o,objs cxxobjs,\ | 114 | $(foreach o,objs cxxobjs,\ |
114 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ | 115 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ |
115 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 116 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) |
116 | $(host-cxxmulti): $(obj)/%: $(host-cobjs) $(host-cxxobjs) FORCE | 117 | $(host-cxxmulti): FORCE |
117 | $(call if_changed,host-cxxmulti) | 118 | $(call if_changed,host-cxxmulti) |
119 | $(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs) | ||
118 | 120 | ||
119 | # Create .o file from a single .cc (C++) file | 121 | # Create .o file from a single .cc (C++) file |
120 | quiet_cmd_host-cxxobjs = HOSTCXX $@ | 122 | quiet_cmd_host-cxxobjs = HOSTCXX $@ |