diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-04-08 11:24:47 +0900 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-20 10:48:19 +0200 |
commit | 23d43848708afd7aa9a2c8516a3f269a3e71be4f (patch) | |
tree | bd03a56fb5afb4cac624c8f2a800f75d9b981b76 /scripts/Makefile.build | |
parent | 1c44b28dfe527d70a6451ffb7ee091221be82168 (diff) | |
download | lwn-23d43848708afd7aa9a2c8516a3f269a3e71be4f.tar.gz lwn-23d43848708afd7aa9a2c8516a3f269a3e71be4f.zip |
kbuild: rename cmd_cc_i_c to cmd_cpp_i_c
This command just preprocesses .c files into .i files, so cmd_cpp_i_c
seems more suitable.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
Diffstat (limited to 'scripts/Makefile.build')
-rw-r--r-- | scripts/Makefile.build | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 12821d9eae85..13f606ba2a3b 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -152,11 +152,11 @@ cmd_cc_s_c = $(CC) $(c_flags) $(DISABLE_LTO) -fverbose-asm -S -o $@ $< $(obj)/%.s: $(src)/%.c FORCE $(call if_changed_dep,cc_s_c) -quiet_cmd_cc_i_c = CPP $(quiet_modtag) $@ -cmd_cc_i_c = $(CPP) $(c_flags) -o $@ $< +quiet_cmd_cpp_i_c = CPP $(quiet_modtag) $@ +cmd_cpp_i_c = $(CPP) $(c_flags) -o $@ $< $(obj)/%.i: $(src)/%.c FORCE - $(call if_changed_dep,cc_i_c) + $(call if_changed_dep,cpp_i_c) cmd_gensymtypes = \ $(CPP) -D__GENKSYMS__ $(c_flags) $< | \ |