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>
This commit is contained in:
@@ -276,7 +276,7 @@ more details, with real examples.
|
|||||||
|
|
||||||
--- 3.7 Compilation flags
|
--- 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
|
All the EXTRA_ variables apply only to the kbuild makefile
|
||||||
where they are assigned. The EXTRA_ variables apply to all
|
where they are assigned. The EXTRA_ variables apply to all
|
||||||
@@ -305,8 +305,7 @@ more details, with real examples.
|
|||||||
EXTRA_AFLAGS := -traditional
|
EXTRA_AFLAGS := -traditional
|
||||||
|
|
||||||
|
|
||||||
$(EXTRA_LDFLAGS) and $(EXTRA_ARFLAGS) are similar strings for
|
$(EXTRA_LDFLAGS) is a string for per-directory options to $(LD).
|
||||||
per-directory options to $(LD) and $(AR).
|
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
#arch/m68k/fpsp040/Makefile
|
#arch/m68k/fpsp040/Makefile
|
||||||
|
@@ -291,7 +291,7 @@ endif # builtin-target
|
|||||||
#
|
#
|
||||||
ifdef lib-target
|
ifdef lib-target
|
||||||
quiet_cmd_link_l_target = AR $@
|
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
|
$(lib-target): $(lib-y) FORCE
|
||||||
$(call if_changed,link_l_target)
|
$(call if_changed,link_l_target)
|
||||||
|
Reference in New Issue
Block a user