Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 6 Jan 2011 01:23:54 +0000 (10:23 +0900)
committerWolfgang Denk <wd@denx.de>
Tue, 25 Jan 2011 21:22:30 +0000 (22:22 +0100)
commit8aba9dceebb14144e07d19593111ee3a999c37fc
treeb6d60913bf0b5549f1cbc67aa4d7701bd0878ee0
parentf8ea15f769773943050fa3ba444a5514066441d4
Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

Linker needs to use the proper endian/bfd flags even when doing partial linking.
LDFLAGS_u-boot sets linker option which is called it when U-boot is built
(u-boot final).
LDFLAGS sets necessary option by partial linking (use in cmd_link_o_target).

CC: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Makefile
arch/blackfin/config.mk
arch/i386/config.mk
arch/nios2/config.mk
arch/powerpc/config.mk
arch/sh/config.mk
arch/sh/cpu/sh2/config.mk
config.mk