mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-15 09:27:35 +00:00
06c14117c4
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>
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
#
|
|
# (C) Copyright 2000-2006
|
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
|
|
extra-y := resetvec.o
|
|
extra-y += start.o
|
|
|
|
obj-y := cache.o
|
|
obj-y += dcr.o
|
|
obj-y += kgdb.o
|
|
|
|
obj-y += 40x_spd_sdram.o
|
|
|
|
ifndef CONFIG_NAND_SPL
|
|
ifndef CONFIG_NAND_U_BOOT
|
|
obj-y += 44x_spd_ddr.o
|
|
endif
|
|
endif
|
|
obj-$(CONFIG_SDRAM_PPC4xx_IBM_DDR2) += 44x_spd_ddr2.o
|
|
obj-$(CONFIG_PPC4xx_DDR_AUTOCALIBRATION) += 4xx_ibm_ddr2_autocalib.o
|
|
obj-y += 4xx_pci.o
|
|
obj-y += 4xx_pcie.o
|
|
obj-y += bedbug_405.o
|
|
obj-$(CONFIG_CMD_CHIP_CONFIG) += cmd_chip_config.o
|
|
obj-y += cpu.o
|
|
obj-y += cpu_init.o
|
|
obj-y += denali_data_eye.o
|
|
obj-y += denali_spd_ddr2.o
|
|
obj-y += ecc.o
|
|
obj-$(CONFIG_CMD_ECCTEST) += cmd_ecctest.o
|
|
obj-y += fdt.o
|
|
obj-y += interrupts.o
|
|
obj-$(CONFIG_CMD_REGINFO) += reginfo.o
|
|
obj-y += sdram.o
|
|
obj-y += speed.o
|
|
obj-y += tlb.o
|
|
obj-y += traps.o
|
|
obj-y += usb.o
|
|
obj-y += usb_ohci.o
|
|
obj-$(CONFIG_XILINX_440) += xilinx_irq.o
|
|
ifndef CONFIG_XILINX_440
|
|
obj-y += 4xx_uart.o
|
|
obj-y += gpio.o
|
|
obj-y += miiphy.o
|
|
obj-y += uic.o
|
|
endif
|
|
|
|
ifdef CONFIG_SPL_BUILD
|
|
obj-y += spl_boot.o
|
|
endif
|