OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [arch/] [mips/] [kernel/] [Makefile] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1624 jcastillo
#
2
# Makefile for the Linux/MIPS kernel.
3
#
4
# Note! Dependencies are done automagically by 'make dep', which also
5
# removes any old dependencies. DON'T put your own dependencies here
6
# unless it's something special (ie not a .c file).
7
#
8
 
9
.S.s:
10
        $(CPP) $(CFLAGS) $< -o $*.s
11
.S.o:
12
        $(CC) $(CFLAGS) -c $< -o $*.o
13
 
14
all:    kernel.o head.o
15
EXTRA_ASFLAGS = -mips3 -mcpu=r4000
16
O_TARGET := kernel.o
17
O_OBJS  := process.o signal.o entry.o traps.o irq.o ptrace.o vm86.o ioport.o \
18
        setup.o syscall.o sysmips.o time.o bios32.o ipc.o
19
 
20
#
21
# Kernel debugging
22
#
23
ifdef CONFIG_REMOTE_DEBUG
24
OBJS += gdb-low.o gdb-stub.o
25
endif
26
 
27
#
28
# Board specific code
29
#
30
ifdef CONFIG_MIPS_JAZZ
31
O_OBJS += jazzdma.o jazz-c.o
32
endif
33
 
34
ifdef CONFIG_ACER_PICA_61
35
O_OBJS += pica.o
36
endif
37
 
38
ifdef CONFIG_DESKSTATION_TYNE
39
O_OBJS += tyne.o tyne-c.o
40
endif
41
 
42
ifdef CONFIG_MIPS_MAGNUM_4000
43
O_OBJS += magnum4000.o
44
endif
45
 
46
#
47
# CPU model specific code
48
#
49
ifdef CONFIG_CPU_R2000
50
O_OBJS += r3000.o
51
endif
52
 
53
ifdef CONFIG_CPU_R3000
54
O_OBJS += r3000.o
55
endif
56
 
57
ifdef CONFIG_CPU_R4X00
58
O_OBJS += r4xx0.o
59
endif
60
 
61
ifdef CONFIG_CPU_R4600
62
O_OBJS += r4xx0.o
63
endif
64
 
65
ifdef CONFIG_CPU_R6000
66
        exit 1                  # no detailed information about CPU yet.
67
endif
68
 
69
ifdef CONFIG_CPU_R8000
70
        exit 1                  # no detailed information about CPU yet.
71
endif
72
 
73
ifdef CONFIG_CPU_R10000
74
O_OBJS += r4xx0.o
75
endif
76
 
77
#
78
# Since we add the same object files to O_OBJS for different configurations.
79
# O_OBJS might contain duplicate files.  We correct this by filtering out
80
# duplicate files.  Just to avoid users having to know about all the
81
# compatibility stuff between various boards and boards.
82
#
83
O_OBJS := $(sort $(O_OBJS))
84
 
85
all: kernel.o head.o
86
 
87
entry.o: entry.S
88
 
89
head.o: head.S
90
 
91
magnum4000.o: magnum4000.S
92
 
93
pica.o: pica.S
94
 
95
r4xx0.o: r4xx0.S
96
 
97
tyne.o: tyne.S
98
 
99
clean:
100
 
101
include $(TOPDIR)/Rules.make

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.