Skip to content

Commit

Permalink
kbuild: kill EXTRA_ARFLAGS
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Sam Ravnborg committed Oct 12, 2007
1 parent a9af330 commit 5e54d5e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions Documentation/kbuild/makefiles.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion scripts/Makefile.build
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5e54d5e

Please sign in to comment.