mk: introduce EXTRA_LDLIBS variable
Signed-off-by: Keith Wiles <keith.wiles@intel.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
This commit is contained in:
parent
501a9459c2
commit
6796db6f22
@ -13,6 +13,7 @@ Build variables
|
||||
EXTRA_CPPFLAGS preprocessor options
|
||||
EXTRA_CFLAGS compiler options
|
||||
EXTRA_LDFLAGS linker options
|
||||
EXTRA_LDLIBS linker library options
|
||||
RTE_KERNELDIR linux headers path
|
||||
CROSS toolchain prefix
|
||||
V verbose
|
||||
|
@ -411,6 +411,8 @@ Variables that Can be Set/Overridden by the User in a Makefile or Command Line
|
||||
|
||||
* EXTRA_LDFLAGS: The content of this variable is appended after LDFLAGS when linking.
|
||||
|
||||
* EXTRA_LDLIBS: The content of this variable is appended after LDLIBS when linking.
|
||||
|
||||
* EXTRA_ASFLAGS: The content of this variable is appended after ASFLAGS when assembling.
|
||||
|
||||
* EXTRA_CPPFLAGS: The content of this variable is appended after CPPFLAGS when using a C preprocessor on assembly files.
|
||||
|
@ -218,7 +218,7 @@ The following variables can be specified on the command line:
|
||||
|
||||
Enable dependency debugging. This provides some useful information about why a target is built or not.
|
||||
|
||||
* EXTRA_CFLAGS=, EXTRA_LDFLAGS=, EXTRA_ASFLAGS=, EXTRA_CPPFLAGS=
|
||||
* EXTRA_CFLAGS=, EXTRA_LDFLAGS=, EXTRA_LDLIBS=, EXTRA_ASFLAGS=, EXTRA_CPPFLAGS=
|
||||
|
||||
Append specific compilation, link or asm flags.
|
||||
|
||||
|
@ -141,7 +141,7 @@ _LDLIBS-y += $(EXECENV_LDLIBS)
|
||||
_LDLIBS-y += --end-group
|
||||
_LDLIBS-y += --no-whole-archive
|
||||
|
||||
LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS)
|
||||
LDLIBS += $(_LDLIBS-y) $(CPU_LDLIBS) $(EXTRA_LDLIBS)
|
||||
|
||||
.PHONY: all
|
||||
all: install
|
||||
|
Loading…
Reference in New Issue
Block a user