diff options
| author | Laura Abbott <labbott@redhat.com> | 2018-07-09 20:46:01 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-17 12:18:05 -0400 |
| commit | 8377bd2b9ee1be35b39b5523f640a2b75ddd7c4e (patch) | |
| tree | a1d9602ba4b0fb849cd0b835ccdc63c2a6c0197a /scripts/Makefile.host | |
| parent | b90a368000abe5e015e0b045ca2ff7c2173b94c0 (diff) | |
kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBS
In preparation for enabling command line LDLIBS, re-name HOST_LOADLIBES
to KBUILD_HOSTLDLIBS as the internal use only flags. Also rename
existing usage to HOSTLDLIBS for consistency. This should not have any
visible effects.
Signed-off-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.host')
| -rw-r--r-- | scripts/Makefile.host | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index c019d781b2c9..0393f75db4d4 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host | |||
| @@ -85,7 +85,7 @@ hostcxx_flags = -Wp,-MD,$(depfile) $(__hostcxx_flags) | |||
| 85 | # host-csingle -> Executable | 85 | # host-csingle -> Executable |
| 86 | quiet_cmd_host-csingle = HOSTCC $@ | 86 | quiet_cmd_host-csingle = HOSTCC $@ |
| 87 | cmd_host-csingle = $(HOSTCC) $(hostc_flags) $(KBUILD_HOSTLDFLAGS) -o $@ $< \ | 87 | cmd_host-csingle = $(HOSTCC) $(hostc_flags) $(KBUILD_HOSTLDFLAGS) -o $@ $< \ |
| 88 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 88 | $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(@F)) |
| 89 | $(host-csingle): $(obj)/%: $(src)/%.c FORCE | 89 | $(host-csingle): $(obj)/%: $(src)/%.c FORCE |
| 90 | $(call if_changed_dep,host-csingle) | 90 | $(call if_changed_dep,host-csingle) |
| 91 | 91 | ||
| @@ -94,7 +94,7 @@ $(host-csingle): $(obj)/%: $(src)/%.c FORCE | |||
| 94 | quiet_cmd_host-cmulti = HOSTLD $@ | 94 | quiet_cmd_host-cmulti = HOSTLD $@ |
| 95 | cmd_host-cmulti = $(HOSTCC) $(KBUILD_HOSTLDFLAGS) -o $@ \ | 95 | cmd_host-cmulti = $(HOSTCC) $(KBUILD_HOSTLDFLAGS) -o $@ \ |
| 96 | $(addprefix $(obj)/,$($(@F)-objs)) \ | 96 | $(addprefix $(obj)/,$($(@F)-objs)) \ |
| 97 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 97 | $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(@F)) |
| 98 | $(host-cmulti): FORCE | 98 | $(host-cmulti): FORCE |
| 99 | $(call if_changed,host-cmulti) | 99 | $(call if_changed,host-cmulti) |
| 100 | $(call multi_depend, $(host-cmulti), , -objs) | 100 | $(call multi_depend, $(host-cmulti), , -objs) |
| @@ -112,7 +112,7 @@ quiet_cmd_host-cxxmulti = HOSTLD $@ | |||
| 112 | cmd_host-cxxmulti = $(HOSTCXX) $(KBUILD_HOSTLDFLAGS) -o $@ \ | 112 | cmd_host-cxxmulti = $(HOSTCXX) $(KBUILD_HOSTLDFLAGS) -o $@ \ |
| 113 | $(foreach o,objs cxxobjs,\ | 113 | $(foreach o,objs cxxobjs,\ |
| 114 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ | 114 | $(addprefix $(obj)/,$($(@F)-$(o)))) \ |
| 115 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 115 | $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(@F)) |
| 116 | $(host-cxxmulti): FORCE | 116 | $(host-cxxmulti): FORCE |
| 117 | $(call if_changed,host-cxxmulti) | 117 | $(call if_changed,host-cxxmulti) |
| 118 | $(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs) | 118 | $(call multi_depend, $(host-cxxmulti), , -objs -cxxobjs) |
| @@ -145,7 +145,7 @@ $(host-cxxshobjs): $(obj)/%.o: $(src)/%.c FORCE | |||
| 145 | quiet_cmd_host-cshlib = HOSTLLD -shared $@ | 145 | quiet_cmd_host-cshlib = HOSTLLD -shared $@ |
| 146 | cmd_host-cshlib = $(HOSTCC) $(KBUILD_HOSTLDFLAGS) -shared -o $@ \ | 146 | cmd_host-cshlib = $(HOSTCC) $(KBUILD_HOSTLDFLAGS) -shared -o $@ \ |
| 147 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ | 147 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ |
| 148 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 148 | $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(@F)) |
| 149 | $(host-cshlib): FORCE | 149 | $(host-cshlib): FORCE |
| 150 | $(call if_changed,host-cshlib) | 150 | $(call if_changed,host-cshlib) |
| 151 | $(call multi_depend, $(host-cshlib), .so, -objs) | 151 | $(call multi_depend, $(host-cshlib), .so, -objs) |
| @@ -155,7 +155,7 @@ $(call multi_depend, $(host-cshlib), .so, -objs) | |||
| 155 | quiet_cmd_host-cxxshlib = HOSTLLD -shared $@ | 155 | quiet_cmd_host-cxxshlib = HOSTLLD -shared $@ |
| 156 | cmd_host-cxxshlib = $(HOSTCXX) $(KBUILD_HOSTLDFLAGS) -shared -o $@ \ | 156 | cmd_host-cxxshlib = $(HOSTCXX) $(KBUILD_HOSTLDFLAGS) -shared -o $@ \ |
| 157 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ | 157 | $(addprefix $(obj)/,$($(@F:.so=-objs))) \ |
| 158 | $(HOST_LOADLIBES) $(HOSTLOADLIBES_$(@F)) | 158 | $(KBUILD_HOSTLDLIBS) $(HOSTLDLIBS_$(@F)) |
| 159 | $(host-cxxshlib): FORCE | 159 | $(host-cxxshlib): FORCE |
| 160 | $(call if_changed,host-cxxshlib) | 160 | $(call if_changed,host-cxxshlib) |
| 161 | $(call multi_depend, $(host-cxxshlib), .so, -objs) | 161 | $(call multi_depend, $(host-cxxshlib), .so, -objs) |
