]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
powerpc: mpc83xx: Do not create a symbolic link to ddr-gen2.c
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Mon, 11 Nov 2013 05:36:06 +0000 (14:36 +0900)
committerTom Rini <trini@ti.com>
Sun, 17 Nov 2013 19:11:33 +0000 (14:11 -0500)
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
arch/powerpc/cpu/mpc83xx/Makefile

index 5ad2bd733ee15c593ccc1757a16b5874a5435f92..4f5a1acf78a1f88b3439a4741699c1ef21c09c71 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -861,7 +861,6 @@ clobber:    tidy
        @rm -f $(obj)SPL
        @rm -f $(obj)tools/xway-swap-bytes
        @rm -f $(obj)arch/powerpc/cpu/mpc824x/bedbug_603e.c
-       @rm -f $(obj)arch/powerpc/cpu/mpc83xx/ddr-gen?.c
        @rm -fr $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
        @rm -fr $(obj)include/generated
        @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -name "*" -type l -print | xargs rm -f
index a501a3bce05c11cb975c1a8499c8f61dc1e6a26a..d3f700147837aebb6cf5ededc0f8e9a6b3a281ca 100644 (file)
@@ -39,14 +39,10 @@ obj-$(CONFIG_OF_LIBFDT) += fdt.o
 obj-y += cache.o
 
 ifdef CONFIG_FSL_DDR2
-obj-$(CONFIG_MPC8349) += ddr-gen2.o
-SRCS += $(obj)ddr-gen2.c
+obj-$(CONFIG_MPC8349) += ../mpc85xx/ddr-gen2.o
 else
 obj-y += spd_sdram.o
 endif
 obj-$(CONFIG_FSL_DDR2) += law.o
 
 endif # not minimal
-
-$(obj)ddr-gen2.c:
-       ln -sf $(SRCTREE)/arch/powerpc/cpu/mpc85xx/ddr-gen2.c $(obj)ddr-gen2.c