u-boot/arch/powerpc/cpu/mpc8xxx/ddr
Masahiro Yamada 06c14117c4 powerpc: convert makefiles to Kbuild style
Note:
arch/powerpc/cpu/mpc8260/Makefile is originally like follows:

    ---<snip>---
    START   = start.o kgdb.o
    COBJS   = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \
    ---<snip>---
    COBJS-$(CONFIG_ETHER_ON_SCC) = ether_scc.o
    ---<snip>---
    $(LIB): $(OBJS)
            $(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)

The link rule `$(call cmd_link_o_target, $(OBJS) $(obj)kgdb.o)'
is weird.
kbdg.o is not included in $(OBJS) but linked into $(LIB)
and $(LIB) is not dependent on kgdb.o.
(Broken dependency tracking)

So,
    START   = start.o kgdb.o
shoud have been
    START   = start.o
    SOBJS   = kgdb.o

That is why this commit adds kgdb.o to obj-y, not to extra-y.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
2013-10-31 13:26:44 -04:00
..
common_timing_params.h mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it 2013-10-24 09:35:52 -07:00
ctrl_regs.c mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it 2013-10-24 09:35:52 -07:00
ddr.h powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
ddr1_dimm_params.c powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
ddr2_dimm_params.c powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
ddr3_dimm_params.c mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it 2013-10-24 09:35:52 -07:00
interactive.c powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
lc_common_dimm_params.c mpc8xxx: set x2 DDR3 refresh rate if SPD config requires it 2013-10-24 09:35:52 -07:00
main.c mpc8xxx: call i2c_set_bus_num in __get_spd 2013-10-24 09:35:46 -07:00
Makefile powerpc: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
options.c powerpc: Fix CamelCase warnings in DDR related code 2013-10-16 16:15:16 -07:00
util.c 8xxx: Change all 8*xx_DDR addresses to 8xxx 2012-11-27 17:45:17 -06:00