Merge git://git.denx.de/u-boot-tegra
[oweals/u-boot.git] / Makefile
index 52cd6ea72161f01a02c1eac7e0378fb4dd0af9d7..4981a2ed6f4ab16200fe347161c3f0774393f40e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1295,6 +1295,10 @@ ifeq ($(CONFIG_KALLSYMS),y)
        $(call cmd,u-boot__) common/system_map.o
 endif
 
+ifeq ($(CONFIG_RISCV),y)
+       @tools/prelink-riscv $@ 0
+endif
+
 quiet_cmd_sym ?= SYM     $@
       cmd_sym ?= $(OBJDUMP) -t $< > $@
 u-boot.sym: u-boot FORCE