buildroot/boot
Arnout Vandecappelle 890c9e761b grub2: pass target NM, OBJCOPY and STRIP
Fixes https://bugs.busybox.net/show_bug.cgi?id=8256

grub2's build system interprets CC, CFLAGS and CPPFLAGS as for the host
and uses TARGET_CC etc. for the target. However, NM, OBJCOPY and STRIP
are used for the target. We currently pass the host-versions of these
tools as part of $(HOST_CONFIGURE_OPTS).

While we're at it, also pass TARGET_LDFLAGS.

This problem had not been noticed up to now because usually we build on
an x86 machine for the x86 architecture, so the binutils are compatible.
However, this is not true on an i386 when building for x86_64.

Cc: Christophe Bricout <christophebricout@yahoo.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-09-20 14:52:19 +02:00
..
at91bootstrap packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
at91bootstrap3 boot/at91boostrap3: check for config file before calling kconfig-package 2015-07-14 10:30:30 +02:00
at91dataflashboot package: remove the trailing slash sign from <PKG>_SITE variable 2014-07-31 23:17:46 +02:00
barebox barebox: bump to version 2015.09.0 2015-09-14 21:31:22 +02:00
boot-wrapper-aarch64 .mk files: bulk aligment and whitespace cleanup of assignments 2014-10-07 15:00:28 +02:00
grub grub: add hash 2015-03-03 21:57:11 +01:00
grub2 grub2: pass target NM, OBJCOPY and STRIP 2015-09-20 14:52:19 +02:00
gummiboot boot/gummiboot: switch to http for git clone 2015-05-01 10:26:51 +02:00
lpc32xxcdl Normalize separator size to 80 2013-06-07 10:54:54 +02:00
mxs-bootlets boot/mxs-bootlets: do not check hash of custom tarball 2015-05-02 15:11:01 +02:00
syslinux boot/syslinux: bump version to 6.03 2015-03-04 23:02:53 +01:00
uboot u-boot: 2015.07 - fix creation of .config 2015-08-30 22:40:35 +02:00
xloader packages: refactor checks using BR_BUILDING 2015-04-26 21:43:25 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in gummiboot: new package 2014-02-19 23:28:35 +01:00