diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-04-07 22:24:48 -0400 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2016-04-20 04:49:09 -0400 |
commit | e0f41e52ddf5dc676577f974c9f0af77732f251a (patch) | |
tree | e0e4870b511fe23aa4524b3830c9ec7301053475 | |
parent | 23d43848708afd7aa9a2c8516a3f269a3e71be4f (diff) |
kbuild: rename cmd_as_s_S to cmd_cpp_s_S
This command just preprocesses .S files into .s files, so cmd_cpp_s_S
seems more suitable.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Michal Marek <mmarek@suse.com>
-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 13f606ba2a3b..0d1ca5bf42fb 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build | |||
@@ -313,11 +313,11 @@ modkern_aflags := $(KBUILD_AFLAGS_KERNEL) $(AFLAGS_KERNEL) | |||
313 | $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) | 313 | $(real-objs-m) : modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) |
314 | $(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) | 314 | $(real-objs-m:.o=.s): modkern_aflags := $(KBUILD_AFLAGS_MODULE) $(AFLAGS_MODULE) |
315 | 315 | ||
316 | quiet_cmd_as_s_S = CPP $(quiet_modtag) $@ | 316 | quiet_cmd_cpp_s_S = CPP $(quiet_modtag) $@ |
317 | cmd_as_s_S = $(CPP) $(a_flags) -o $@ $< | 317 | cmd_cpp_s_S = $(CPP) $(a_flags) -o $@ $< |
318 | 318 | ||
319 | $(obj)/%.s: $(src)/%.S FORCE | 319 | $(obj)/%.s: $(src)/%.S FORCE |
320 | $(call if_changed_dep,as_s_S) | 320 | $(call if_changed_dep,cpp_s_S) |
321 | 321 | ||
322 | quiet_cmd_as_o_S = AS $(quiet_modtag) $@ | 322 | quiet_cmd_as_o_S = AS $(quiet_modtag) $@ |
323 | cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $< | 323 | cmd_as_o_S = $(CC) $(a_flags) -c -o $@ $< |