diff options
author | Kim Phillips <kim.phillips@freescale.com> | 2013-01-16 18:34:09 -0600 |
---|---|---|
committer | Kim Phillips <kim.phillips@freescale.com> | 2013-01-16 18:34:09 -0600 |
commit | a6187dccd813920524987792e49ef2feffb213e6 (patch) | |
tree | 6825884dd47867575aa29cd35f1cb248a91c313e /arch/powerpc/cpu/mpc83xx/Makefile | |
parent | 3a9d879f6f64585b819af728b53be0a05037fe0d (diff) | |
parent | 22f4442d12a3833e29b6580f6cf9bc0e55340504 (diff) |
Merge remote-tracking branch 'mpc83xx/next'
Diffstat (limited to 'arch/powerpc/cpu/mpc83xx/Makefile')
-rw-r--r-- | arch/powerpc/cpu/mpc83xx/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/Makefile b/arch/powerpc/cpu/mpc83xx/Makefile index 687f5e90a4d..8a470b84b84 100644 --- a/arch/powerpc/cpu/mpc83xx/Makefile +++ b/arch/powerpc/cpu/mpc83xx/Makefile @@ -27,8 +27,22 @@ include $(TOPDIR)/config.mk LIB = $(obj)lib$(CPU).o +MINIMAL= + +ifdef CONFIG_SPL_BUILD +ifdef CONFIG_SPL_INIT_MINIMAL +MINIMAL=y +endif +endif + START = start.o +ifdef MINIMAL + +COBJS-y += spl_minimal.o + +else + COBJS-y += traps.o COBJS-y += cpu.o COBJS-y += cpu_init.o @@ -51,6 +65,8 @@ COBJS-y += spd_sdram.o endif COBJS-$(CONFIG_FSL_DDR2) += law.o +endif # not minimal + COBJS := $(COBJS-y) SRCS := $(START:.o=.S) $(SOBJS:.o=.S) $(COBJS:.o=.c) $(addprefix $(obj),$(COBJS_LN-y:.o=.c)) OBJS := $(addprefix $(obj),$(SOBJS) $(COBJS) $(COBJS_LN-y)) |