diff options
| author | Laura Abbott <labbott@redhat.com> | 2018-07-09 20:45:58 -0400 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-07-17 12:18:05 -0400 |
| commit | 96f14fe738b69dd97a33efe3cc8ab330af5fd1f1 (patch) | |
| tree | 12f565e67f78bb7b3b257fdc741ce9141a593adb /scripts | |
| parent | efa75c4923be7fedc00b040116657101f20b3678 (diff) | |
kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGS
In preparation for enabling command line CFLAGS, re-name HOSTCFLAGS to
KBUILD_HOSTCFLAGS as the internal use only flags. 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')
| -rw-r--r-- | scripts/Kbuild.include | 2 | ||||
| -rw-r--r-- | scripts/Makefile.host | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 86321f06461e..02bb3163cd8d 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include | |||
| @@ -126,7 +126,7 @@ cc-option = $(call __cc-option, $(CC),\ | |||
| 126 | # hostcc-option | 126 | # hostcc-option |
| 127 | # Usage: cflags-y += $(call hostcc-option,-march=winchip-c6,-march=i586) | 127 | # Usage: cflags-y += $(call hostcc-option,-march=winchip-c6,-march=i586) |
| 128 | hostcc-option = $(call __cc-option, $(HOSTCC),\ | 128 | hostcc-option = $(call __cc-option, $(HOSTCC),\ |
| 129 | $(HOSTCFLAGS) $(HOST_EXTRACFLAGS),$(1),$(2)) | 129 | $(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS),$(1),$(2)) |
| 130 | 130 | ||
| 131 | # cc-option-yn | 131 | # cc-option-yn |
| 132 | # Usage: flag := $(call cc-option-yn,-march=winchip-c6) | 132 | # Usage: flag := $(call cc-option-yn,-march=winchip-c6) |
diff --git a/scripts/Makefile.host b/scripts/Makefile.host index aa971cc3f339..09f00dae21fe 100644 --- a/scripts/Makefile.host +++ b/scripts/Makefile.host | |||
| @@ -62,7 +62,7 @@ host-cxxshobjs := $(addprefix $(obj)/,$(host-cxxshobjs)) | |||
| 62 | ##### | 62 | ##### |
| 63 | # Handle options to gcc. Support building with separate output directory | 63 | # Handle options to gcc. Support building with separate output directory |
| 64 | 64 | ||
| 65 | _hostc_flags = $(HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ | 65 | _hostc_flags = $(KBUILD_HOSTCFLAGS) $(HOST_EXTRACFLAGS) \ |
| 66 | $(HOSTCFLAGS_$(basetarget).o) | 66 | $(HOSTCFLAGS_$(basetarget).o) |
| 67 | _hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ | 67 | _hostcxx_flags = $(HOSTCXXFLAGS) $(HOST_EXTRACXXFLAGS) \ |
| 68 | $(HOSTCXXFLAGS_$(basetarget).o) | 68 | $(HOSTCXXFLAGS_$(basetarget).o) |
