1
2#
3# This is just a Makefile fragment -- it is included by the master
4# makefile, cfe.mk
5#
6# This file should just append object file names to "ALLOBJS"
7#
8#
9#  Macro               Contains
10#  CRT0OBJS            Files that must be linked first for CFE
11#  ALLOBJS             Other files for CFE
12#  ZCRTO0OBJS          Files that must be linked first for ZIPSTART
13#  ZSOBJS              ZIPSTART object files
14#
15
16#
17# These files are needed by ZIPSTART
18#
19
20ZSOBJS += sb1250_cpu.o sb1_cpuinit.o sb1250_altcpu.o sb1250_l1cache.o \
21	sb1250_l2cache.o sb1250_draminit.o diag_null.o
22
23#
24# These files are needed by normal CFE
25#
26
27ALLOBJS += sb1250_cpu.o sb1_cpuinit.o sb1250_altcpu.o sb1250_l1cache.o \
28           sb1250_l2cache.o sb1250_draminit.o sb1250_utils.o
29
30
31ifeq ($(strip ${CFG_PCI}),1)
32ALLOBJS += sb1250_pci_machdep.o
33endif
34
35ALLOBJS += diag_l2cache.o
36
37#
38# Enable 1250/112x-specific code sections
39#
40CFLAGS += -DSIBYTE_SB1250
41
42#
43# Deal with pass1's little quirks
44#
45#CFLAGS += -D_SB1250_PASS1_WORKAROUNDS_
46