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>
1 parent f6ee281 commit 370c6cc5b796e8073ed8d5b04032b659e34b0673
@Sascha Hauer Sascha Hauer authored on 24 May 2017
Showing 2 changed files
View
Makefile
View
images/Makefile