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 4a64060 commit 626edf58df45b87eb590627b71436aafaa3624b5
@Sascha Hauer Sascha Hauer authored on 24 May 2017
Showing 2 changed files
View
Makefile
View
images/Makefile