]> git.sur5r.net Git - u-boot/blobdiff - Makefile
Blackfin: support embedding the environment into loader files (LDRs)
[u-boot] / Makefile
index 285f11635382b6c04659746815cecb705dfb2390..2f875958b4d897ce2ef9be4c3142115443012604 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -323,6 +323,7 @@ $(obj)u-boot.bin:   $(obj)u-boot
                $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
 
 $(obj)u-boot.ldr:      $(obj)u-boot
+               $(obj)tools/envcrc --binary > $(obj)env-ldr.o
                $(LDR) -T $(CONFIG_BFIN_CPU) -c $@ $< $(LDR_FLAGS)
 
 $(obj)u-boot.ldr.hex:  $(obj)u-boot.ldr