summaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/Makefile
blob: 7b38522958cdc6958a39d04feff2041879834804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#
# Makefile for the Linux/SuperH kernel.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#

.S.o:
	$(CC) $(AFLAGS) -traditional -c $< -o $*.o

O_TARGET := kernel.o
O_OBJS   := process.o signal.o entry.o traps.o irq.o irq_ipr.o \
            ptrace.o setup.o time.o sys_sh.o semaphore.o pci-sh.o \
	    irq_imask.o
OX_OBJS  := sh_ksyms.o
MX_OBJS  :=

ifdef CONFIG_CF_ENABLER
O_OBJS += cf-enabler.o
endif

ifdef CONFIG_SH_GENERIC
O_OBJS += io_generic.o
endif

ifdef CONFIG_SH_SOLUTION_ENGINE
O_OBJS += setup_se.o io_se.o
endif

ifdef CONFIG_SH_OVERDRIVE
O_OBJS += setup_od.o io_generic.o
endif

ifdef CONFIG_SH_HP600
O_OBJS += io_hd64461.o
endif

ifdef CONFIG_CPU_SH4
O_OBJS += fpu.o
endif

ifdef CONFIG_HD64461
O_OBJS += setup_hd64461.o
endif

ifdef CONFIG_SH_STANDARD_BIOS
O_OBJS += sh_bios.o
endif

all: kernel.o head.o init_task.o

entry.o: entry.S

head.o: head.S

clean:

include $(TOPDIR)/Rules.make