diff options
author | Scott Wood <scottwood@freescale.com> | 2012-09-19 17:56:39 -0500 |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2012-11-26 15:41:23 -0600 |
commit | 510ed3b8fd2a24d06a3252467f229762065a880d (patch) | |
tree | 5f1943ee3ec89f620d40152daecdc8fb565226af /spl/Makefile | |
parent | 59629c2897eb84c4550cf95b49e0761fbd23cef0 (diff) | |
download | u-boot-imx-510ed3b8fd2a24d06a3252467f229762065a880d.zip u-boot-imx-510ed3b8fd2a24d06a3252467f229762065a880d.tar.gz u-boot-imx-510ed3b8fd2a24d06a3252467f229762065a880d.tar.bz2 |
spl: include resetvec and lib8xxx
The toplevel makefile hardcodes this stuff, so spl/Makefile needs to as well.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'spl/Makefile')
-rw-r--r-- | spl/Makefile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/spl/Makefile b/spl/Makefile index 3195390..eacf4a2 100644 --- a/spl/Makefile +++ b/spl/Makefile @@ -32,9 +32,30 @@ START_PATH := $(CPUDIR) endif START := $(START_PATH)/start.o +ifeq ($(CPU),x86) +START += $(START_PATH)/start16.o +START += $(START_PATH)/resetvec.o +endif +ifeq ($(CPU),ppc4xx) +START += $(START_PATH)/resetvec.o +endif +ifeq ($(CPU),mpc85xx) +START += $(START_PATH)/resetvec.o +endif LIBS-y += arch/$(ARCH)/lib/lib$(ARCH).o + LIBS-y += $(CPUDIR)/lib$(CPU).o +ifeq ($(CPU),mpc83xx) +LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o +endif +ifeq ($(CPU),mpc85xx) +LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o +endif +ifeq ($(CPU),mpc86xx) +LIBS-y += arch/powerpc/cpu/mpc8xxx/lib8xxx.o +endif + ifdef SOC LIBS-y += $(CPUDIR)/$(SOC)/lib$(SOC).o endif |