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 0667fc1a54c8586ba9dcb0aec1bb1b683400766b..cedc8e02e6e8847cde7a1889a7deeb2d23e0bae5 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