Changes in kernel/arch/sparc64/Makefile.inc [ac47b7c2:e4a4b44] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/Makefile.inc
rac47b7c2 re4a4b44 27 27 # 28 28 29 ## Toolchain configuration30 #31 32 29 BFD_NAME = elf64-sparc 33 30 BFD_ARCH = sparc 34 31 BFD = binary 35 TARGET = sparc64-linux-gnu36 TOOLCHAIN_DIR = $(CROSS_PREFIX)/sparc6437 32 38 GCC_CFLAGS += -m64 -mcpu=ultrasparc 33 GCC_CFLAGS += -m64 -mcpu=ultrasparc -mcmodel=medlow 39 34 SUNCC_CFLAGS += -m64 -xarch=sparc -xregs=appl,no%float 40 35 41 LFLAGS += -no-check-sections -N36 LFLAGS += -no-check-sections 42 37 43 38 BITS = 64 … … 46 41 ifeq ($(PROCESSOR),us) 47 42 DEFS += -DUS 43 DEFS += -DSUN4U 44 USARCH = sun4u 48 45 endif 49 46 50 47 ifeq ($(PROCESSOR),us3) 51 48 DEFS += -DUS3 49 DEFS += -DSUN4U 50 USARCH = sun4u 51 endif 52 53 ifeq ($(PROCESSOR),sun4v) 54 DEFS += -DSUN4V 55 USARCH = sun4v 56 #MH 57 DEFS += -DUS 52 58 endif 53 59 54 60 ARCH_SOURCES = \ 55 arch/$(KARCH)/src/cpu/cpu.c \ 61 arch/$(KARCH)/src/cpu/$(USARCH)/cpu.c \ 62 arch/$(KARCH)/src/debug/stacktrace.c \ 63 arch/$(KARCH)/src/debug/stacktrace_asm.S \ 56 64 arch/$(KARCH)/src/asm.S \ 57 arch/$(KARCH)/src/ panic.S \65 arch/$(KARCH)/src/$(USARCH)/asm.S \ 58 66 arch/$(KARCH)/src/console.c \ 59 67 arch/$(KARCH)/src/context.S \ 60 68 arch/$(KARCH)/src/fpu_context.c \ 61 69 arch/$(KARCH)/src/dummy.s \ 62 arch/$(KARCH)/src/mm/as.c \ 63 arch/$(KARCH)/src/mm/cache.S \ 64 arch/$(KARCH)/src/mm/frame.c \ 70 arch/$(KARCH)/src/mm/$(USARCH)/as.c \ 71 arch/$(KARCH)/src/mm/$(USARCH)/frame.c \ 65 72 arch/$(KARCH)/src/mm/page.c \ 66 arch/$(KARCH)/src/mm/ tlb.c \67 arch/$(KARCH)/src/ sparc64.c \68 arch/$(KARCH)/src/ start.S \69 arch/$(KARCH)/src/proc/ scheduler.c \73 arch/$(KARCH)/src/mm/$(USARCH)/tlb.c \ 74 arch/$(KARCH)/src/$(USARCH)/sparc64.c \ 75 arch/$(KARCH)/src/$(USARCH)/start.S \ 76 arch/$(KARCH)/src/proc/$(USARCH)/scheduler.c \ 70 77 arch/$(KARCH)/src/proc/thread.c \ 71 arch/$(KARCH)/src/trap/ mmu.S \72 arch/$(KARCH)/src/trap/ trap_table.S \78 arch/$(KARCH)/src/trap/$(USARCH)/mmu.S \ 79 arch/$(KARCH)/src/trap/$(USARCH)/trap_table.S \ 73 80 arch/$(KARCH)/src/trap/trap.c \ 74 81 arch/$(KARCH)/src/trap/exception.c \ … … 79 86 arch/$(KARCH)/src/drivers/sgcn.c \ 80 87 arch/$(KARCH)/src/drivers/pci.c \ 81 arch/$(KARCH)/src/drivers/fhc.c 88 arch/$(KARCH)/src/drivers/fhc.c \ 89 arch/$(KARCH)/src/trap/$(USARCH)/interrupt.c 90 91 ifeq ($(USARCH),sun4v) 92 ARCH_SOURCES += \ 93 arch/$(KARCH)/src/drivers/niagara.c \ 94 arch/$(KARCH)/src/sun4v/md.c 95 endif 82 96 83 97 ifeq ($(CONFIG_FB),y) … … 88 102 ifeq ($(CONFIG_SMP),y) 89 103 ARCH_SOURCES += \ 90 arch/$(KARCH)/src/smp/ ipi.c \91 arch/$(KARCH)/src/smp/ smp.c104 arch/$(KARCH)/src/smp/$(USARCH)/smp.c \ 105 arch/$(KARCH)/src/smp/$(USARCH)/ipi.c 92 106 endif 93 107 94 108 ifeq ($(CONFIG_TSB),y) 95 109 ARCH_SOURCES += \ 96 arch/$(KARCH)/src/mm/ tsb.c110 arch/$(KARCH)/src/mm/$(USARCH)/tsb.c 97 111 endif
Note:
See TracChangeset
for help on using the changeset viewer.