]> git.baikalelectronics.ru Git - uboot.git/commit
kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle
authorHeiko Thiery <heiko.thiery@gmail.com>
Wed, 24 Aug 2022 08:37:23 +0000 (10:37 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 31 Aug 2022 16:16:01 +0000 (12:16 -0400)
commit3f4475f38f60e31f2429ac96c42fcf310e2703f6
tree25257cb45976d7aaa17c21ef280540ebe14babb0
parent90fde2a3094de896a80a12b497b5de6f32a533e0
kbuild: add KBUILD_HOSTLDFLAGS to cmd_host-csingle

When compiling executables from a single.c file, the linker is also
invoked. Pass the flags like the other linker commands.

cherry-pick kbuild change from Linux:

63185b46cdb3 (kbuild: use HOSTLDFLAGS for single .c executables)

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.host