MX28: Move the u-boot.bd info CPUDIR/SOCDIR
[oweals/u-boot.git] / Makefile
index 42fc5ee63c535f262ac60ce472b98c426c65fe88..913360cacd7e17ea4cda1d1c567e2cd9cfc4160e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -450,7 +450,7 @@ $(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin
                        $(obj)u-boot.ais
 
 $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
-               elftosb -zdf imx28 -c $(TOPDIR)/board/$(BOARDDIR)/u-boot.bd \
+               elftosb -zdf imx28 -c $(TOPDIR)/$(CPUDIR)/$(SOC)/u-boot.bd \
                        -o $(obj)u-boot.sb
 
 # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.