NAND: $(obj)-qualify ecc.h in kilauea NAND boot Makefile.
authorScott Wood <scottwood@freescale.com>
Wed, 23 Jul 2008 18:16:06 +0000 (13:16 -0500)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Jul 2008 22:37:08 +0000 (00:37 +0200)
This fixes building out-of-tree.

Signed-off-by: Scott Wood <scottwood@freescale.com>
nand_spl/board/amcc/kilauea/Makefile

index 0667fc1..cedc8e0 100644 (file)
@@ -57,7 +57,7 @@ $(nandobj)u-boot-spl: $(OBJS)
 # create symbolic links for common files
 
 # from cpu directory
-$(obj)44x_spd_ddr2.c: ecc.h
+$(obj)44x_spd_ddr2.c: $(obj)ecc.h
        @rm -f $(obj)44x_spd_ddr2.c
        ln -s $(SRCTREE)/cpu/ppc4xx/44x_spd_ddr2.c $(obj)44x_spd_ddr2.c