u-boot-brain/arch
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
..
arm ARM: imx-common: convert makefiles to Kbuild style 2013-10-31 13:20:39 -04:00
avr32 Add GPL-2.0+ SPDX-License-Identifier to source files 2013-07-24 09:44:38 -04:00
blackfin Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
m68k Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
microblaze microblaze: Fix watchdog initialization 2013-10-16 09:24:38 -04:00
mips usb: add enum usb_init_type parameter to usb_lowlevel_init 2013-10-20 23:45:26 +02:00
nds32 nds32: introduce DMA allocation API 2013-08-09 01:51:11 +08:00
nios2 Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
openrisc Coding Style cleanup: replace leading SPACEs by TABs 2013-10-14 16:06:54 -04:00
powerpc powerpc: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
sandbox sandbox: convert makefiles to Kbuild style 2013-10-31 13:26:44 -04:00
sh sh: cache: Change cache API to defines as U-Boot 2013-10-17 09:34:39 +09:00
sparc usb: add enum usb_init_type parameter to usb_lowlevel_init 2013-10-20 23:45:26 +02:00
x86 Coding Style cleanup: remove trailing white space 2013-10-14 16:06:53 -04:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00