diff options
author | Sam Ravnborg <sam@neptun.(none)> | 2007-09-30 20:14:58 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@neptun.(none)> | 2007-10-12 21:20:32 +0200 |
commit | 5e54d5e5fbc1f7237930af8466caf3cefd13b9bd (patch) | |
tree | 2a290f82e06c4f56ae46fcdbe8499d0846468bf7 | |
parent | a9af33052cee365ee17c03c167b61780a08f4acd (diff) | |
download | linux-5e54d5e5fbc1f7237930af8466caf3cefd13b9bd.tar.gz linux-5e54d5e5fbc1f7237930af8466caf3cefd13b9bd.tar.bz2 linux-5e54d5e5fbc1f7237930af8466caf3cefd13b9bd.zip |
kbuild: kill EXTRA_ARFLAGS
EXTRA_ARFLAGS have never been used so no need to carry
around on this.
A google search did not reveal any external module
using this either.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
-rw-r--r-- | Documentation/kbuild/makefiles.txt | 5 | ||||
-rw-r--r-- | scripts/Makefile.build | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/Documentation/kbuild/makefiles.txt b/Documentation/kbuild/makefiles.txt index 3c7ea39fc098..54bbfd37f157 100644 --- a/Documentation/kbuild/makefiles.txt +++ b/Documentation/kbuild/makefiles.txt @@ -276,7 +276,7 @@ more details, with real examples. --- 3.7 Compilation flags - EXTRA_CFLAGS, EXTRA_AFLAGS, EXTRA_LDFLAGS, EXTRA_ARFLAGS + EXTRA_CFLAGS, EXTRA_AFLAGS, EXTRA_LDFLAGS All the EXTRA_ variables apply only to the kbuild makefile where they are assigned. The EXTRA_ variables apply to all @@ -305,8 +305,7 @@ more details, with real examples. EXTRA_AFLAGS := -traditional - $(EXTRA_LDFLAGS) and $(EXTRA_ARFLAGS) are similar strings for - per-directory options to $(LD) and $(AR). + $(EXTRA_LDFLAGS) is a string for per-directory options to $(LD). Example: #arch/m68k/fpsp040/Makefile diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 7fd6055bedfd..e74a837690e5 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -291,7 +291,7 @@ endif # builtin-target # ifdef lib-target quiet_cmd_link_l_target = AR $@ -cmd_link_l_target = rm -f $@; $(AR) $(EXTRA_ARFLAGS) rcs $@ $(lib-y) +cmd_link_l_target = rm -f $@; $(AR) rcs $@ $(lib-y) $(lib-target): $(lib-y) FORCE $(call if_changed,link_l_target) |