]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - Makefile
riscv: tools: Prelink u-boot
[people/ms/u-boot.git] / Makefile
index d8f419bcd900f32a4a13ab284df4a8e825ed7beb..23cd34025f3d4d7d6d14fc3c79ae8a9af85e9ccc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1264,6 +1264,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