mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-07 13:23:20 +09: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>
30 lines
808 B
Makefile
30 lines
808 B
Makefile
#
|
|
# Copyright 2008-2011 Freescale Semiconductor, Inc.
|
|
#
|
|
# This program is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU General Public License
|
|
# Version 2 as published by the Free Software Foundation.
|
|
#
|
|
|
|
obj-$(CONFIG_FSL_DDR1) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
|
|
obj-$(CONFIG_FSL_DDR2) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
|
|
obj-$(CONFIG_FSL_DDR3) += main.o util.o ctrl_regs.o options.o \
|
|
lc_common_dimm_params.o
|
|
ifdef CONFIG_DDR_SPD
|
|
SPD := y
|
|
endif
|
|
ifdef CONFIG_SPD_EEPROM
|
|
SPD := y
|
|
endif
|
|
ifdef SPD
|
|
obj-$(CONFIG_FSL_DDR1) += ddr1_dimm_params.o
|
|
obj-$(CONFIG_FSL_DDR2) += ddr2_dimm_params.o
|
|
obj-$(CONFIG_FSL_DDR3) += ddr3_dimm_params.o
|
|
endif
|
|
|
|
obj-$(CONFIG_FSL_DDR_INTERACTIVE) += interactive.o
|