Makefile: fix passing of EXTRA_LDLIBS
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
f9274e8d6e
commit
a8349b115d
1 changed files with 5 additions and 1 deletions
6
Makefile
6
Makefile
|
@ -612,8 +612,12 @@ quiet_cmd_busybox__ ?= LINK $@
|
||||||
"$(core-y)" \
|
"$(core-y)" \
|
||||||
"$(libs-y)" \
|
"$(libs-y)" \
|
||||||
"$(LDLIBS)" \
|
"$(LDLIBS)" \
|
||||||
"$(CONFIG_EXTRA_LDLIBS)" \
|
$(CONFIG_EXTRA_LDLIBS) \
|
||||||
&& $(srctree)/scripts/generate_BUFSIZ.sh --post include/common_bufsiz.h
|
&& $(srctree)/scripts/generate_BUFSIZ.sh --post include/common_bufsiz.h
|
||||||
|
# ^^^ note: CONFIG_xyz strings already have double quotes: their value
|
||||||
|
# is '"LIB LIB2"', therefore $(CONFIG_EXTRA_LDLIBS) above must NOT be written
|
||||||
|
# as "$(CONFIG_EXTRA_LDLIBS)", it would be passed as ""LIB LIB2"",
|
||||||
|
# and LIB2 would end up in $9, not $8 (and lost or misinterpreted).
|
||||||
|
|
||||||
# Generate System.map
|
# Generate System.map
|
||||||
quiet_cmd_sysmap = SYSMAP
|
quiet_cmd_sysmap = SYSMAP
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue