diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-24 09:05:29 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-05-24 09:07:03 +0200 |
commit | 370c6cc5b796e8073ed8d5b04032b659e34b0673 (patch) | |
tree | 7d3a2be6ee019e30b8112d7429350491b0e417ca /Makefile | |
parent | f6ee281578930123987c1d92722316adda35b927 (diff) | |
download | barebox-370c6cc5b796e8073ed8d5b04032b659e34b0673.tar.gz barebox-370c6cc5b796e8073ed8d5b04032b659e34b0673.tar.xz |
Makefile: Speed up evaluation of ld options
Since "333ff7b1e4 Fix linking with new ld, based on u-boot" the build
with multiple images became unreasonable slow. This is because the
ld-option macro was evaluated once for each image. Fix this by exporting
and using LDFLAGS_barebox from the main Makefile.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -321,6 +321,7 @@ export HOSTCXX HOSTCXXFLAGS LDFLAGS_MODULE CHECK CHECKFLAGS export CPPFLAGS NOSTDINC_FLAGS LINUXINCLUDE OBJCOPYFLAGS LDFLAGS export CFLAGS CFLAGS_KERNEL export AFLAGS AFLAGS_KERNEL +export LDFLAGS_barebox # Files to ignore in find ... statements |