mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 13:11:31 +00:00
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>
This commit is contained in:
parent
59629c2897
commit
510ed3b8fd
1 changed files with 21 additions and 0 deletions
21
spl/Makefile
21
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
|
||||
|
|
Loading…
Add table
Reference in a new issue