summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-02-24 11:12:18 +0900
committerTom Rini <trini@ti.com>2014-02-25 11:01:29 -0500
commitad0fed46b97d3b46e9a5be2a45ff77536544926b (patch)
treec26e53ce1cb8ecaa3e253c6578411a5b1eb6851c /arch/sandbox
parent982a1199c946897fe6b4572b8a3b2964cb67c6b1 (diff)
downloadu-boot-imx-ad0fed46b97d3b46e9a5be2a45ff77536544926b.zip
u-boot-imx-ad0fed46b97d3b46e9a5be2a45ff77536544926b.tar.gz
u-boot-imx-ad0fed46b97d3b46e9a5be2a45ff77536544926b.tar.bz2
kbuild: use shorten log for linking u-boot
Move sandbox-specific link rule to arch/sandbox/config.mk. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/config.mk4
1 files changed, 4 insertions, 0 deletions
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