diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-02-05 16:33:37 +0900 |
|---|---|---|
| committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2019-03-14 02:39:10 +0900 |
| commit | 898f5a009f226fbaee0ff9ea58b919a31f627d1e (patch) | |
| tree | 38bf96460fdae43067d057cd27ecb37dbd403eb5 /scripts/Makefile.build | |
| parent | 46c7dd56d54133e3fb9414844d90e563627f3feb (diff) | |
| download | cachepc-linux-898f5a009f226fbaee0ff9ea58b919a31f627d1e.tar.gz cachepc-linux-898f5a009f226fbaee0ff9ea58b919a31f627d1e.zip | |
kbuild: move archive command to scripts/Makefile.lib
scripts/Makefile.build and arch/s390/boot/Makefile use the same
command (thin archiving with symbol table creation).
Avoid the code duplication, and move it to scripts/Makefile.lib.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'scripts/Makefile.build')
| -rw-r--r-- | scripts/Makefile.build | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 850b611f4aba..2554a15ecf2b 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -426,13 +426,9 @@ $(modorder-target): $(subdir-ym) FORCE # Rule to compile a set of .o files into one .a file (with symbol table) # ifdef lib-target -quiet_cmd_link_l_target = AR $@ - -# lib target archives do get a symbol table and index -cmd_link_l_target = rm -f $@; $(AR) rcsTP$(KBUILD_ARFLAGS) $@ $(real-prereqs) $(lib-target): $(lib-y) FORCE - $(call if_changed,link_l_target) + $(call if_changed,ar) targets += $(lib-target) |
