From ad0fed46b97d3b46e9a5be2a45ff77536544926b Mon Sep 17 00:00:00 2001 From: Masahiro Yamada Date: Mon, 24 Feb 2014 11:12:18 +0900 Subject: kbuild: use shorten log for linking u-boot Move sandbox-specific link rule to arch/sandbox/config.mk. Signed-off-by: Masahiro Yamada --- arch/sandbox/config.mk | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch') diff --git a/arch/sandbox/config.mk b/arch/sandbox/config.mk index 6142dd4..23b057e 100644 --- a/arch/sandbox/config.mk +++ b/arch/sandbox/config.mk @@ -7,3 +7,7 @@ PLATFORM_LIBS += -lrt # Support generic board on sandbox __HAVE_ARCH_GENERIC_BOARD := y + +cmd_u-boot__ = $(CC) -o $@ -T u-boot.lds \ + -Wl,--start-group $(u-boot-main) -Wl,--end-group \ + $(PLATFORM_LIBS) -Wl,-Map -Wl,u-boot.map -- cgit v1.1