summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/Makefile
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-11-29 00:15:30 -0600
committerKumar Gala <galak@kernel.crashing.org>2007-12-11 22:34:19 -0600
commitf852ce72f100cabd1f11c21c085a0ad8eca9fb65 (patch)
treecdb11e0a34b3979c702cdcba4084dd43661bb24a /cpu/mpc85xx/Makefile
parentc01b17dd856fa120b2970f50d9598546a4927ec3 (diff)
downloadu-boot-imx-f852ce72f100cabd1f11c21c085a0ad8eca9fb65.zip
u-boot-imx-f852ce72f100cabd1f11c21c085a0ad8eca9fb65.tar.gz
u-boot-imx-f852ce72f100cabd1f11c21c085a0ad8eca9fb65.tar.bz2
Add libfdt based ft_cpu_setup for mpc85xx
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/Makefile')
-rw-r--r--cpu/mpc85xx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpu/mpc85xx/Makefile b/cpu/mpc85xx/Makefile
index 32091fa..d179d70 100644
--- a/cpu/mpc85xx/Makefile
+++ b/cpu/mpc85xx/Makefile
@@ -29,8 +29,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)lib$(CPU).a
START = start.o resetvec.o
+COBJS-$(CONFIG_OF_LIBFDT) += fdt.o
COBJS = traps.o cpu.o cpu_init.o speed.o interrupts.o \
- pci.o serial_scc.o commproc.o ether_fcc.o spd_sdram.o qe_io.o
+ pci.o serial_scc.o commproc.o ether_fcc.o spd_sdram.o qe_io.o \
+ $(COBJS-y)
SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS))