1 |
1275 |
phoenix |
#
|
2 |
|
|
# Makefile for the Linux/SuperH 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 |
|
|
all: kernel.o head.o init_task.o
|
10 |
|
|
|
11 |
|
|
clean:
|
12 |
|
|
|
13 |
|
|
O_TARGET := kernel.o
|
14 |
|
|
|
15 |
|
|
export-objs := io.o io_generic.o io_hd64461.o setup_hd64461.o sh_ksyms.o \
|
16 |
|
|
dma.o
|
17 |
|
|
|
18 |
|
|
obj-y := process.o signal.o entry.o traps.o irq.o irq_ipr.o \
|
19 |
|
|
ptrace.o setup.o time.o sys_sh.o semaphore.o \
|
20 |
|
|
irq_imask.o io.o io_generic.o sh_ksyms.o ubc.o
|
21 |
|
|
|
22 |
|
|
obj-$(CONFIG_CF_ENABLER) += cf-enabler.o
|
23 |
|
|
obj-$(CONFIG_CPU_SH4) += fpu.o
|
24 |
|
|
obj-$(CONFIG_SH_RTC) += rtc.o
|
25 |
|
|
obj-$(CONFIG_SH_DMA) += dma.o
|
26 |
|
|
obj-$(CONFIG_SH_STANDARD_BIOS) += sh_bios.o
|
27 |
|
|
obj-$(CONFIG_SH_KGDB) += kgdb_stub.o kgdb_jmp.o
|
28 |
|
|
|
29 |
|
|
ifeq ($(CONFIG_PCI),y)
|
30 |
|
|
ifeq ($(CONFIG_SH_DREAMCAST),y)
|
31 |
|
|
obj-y += pci-dc.o pcibios.o
|
32 |
|
|
else
|
33 |
|
|
obj-y += pci-dma.o pcibios.o
|
34 |
|
|
obj-$(CONFIG_CPU_SUBTYPE_ST40)+= pci_st40.o
|
35 |
|
|
obj-$(CONFIG_CPU_SUBTYPE_SH7751)+= pci-sh7751.o
|
36 |
|
|
obj-$(CONFIG_SH_BIGSUR)+= pci-bigsur.o
|
37 |
|
|
obj-$(CONFIG_SH_7751_SOLUTION_ENGINE)+= pci-7751se.o
|
38 |
|
|
obj-$(CONFIG_PCI_SD0001)+= pci-sd0001.o
|
39 |
|
|
obj-$(CONFIG_SH_SECUREEDGE5410) += pci-snapgear.o
|
40 |
|
|
obj-$(CONFIG_SH_KEYWEST) += pci-v320usc.o
|
41 |
|
|
endif
|
42 |
|
|
endif
|
43 |
|
|
|
44 |
|
|
obj-$(CONFIG_SH_HP600) += mach_hp600.o
|
45 |
|
|
machine-specific-objs += mach_hp600.o
|
46 |
|
|
|
47 |
|
|
obj-$(CONFIG_SH_HS7729PCI) += mach_hs7729pci.o setup_hs7729pci.o io_hs7729pci.o
|
48 |
|
|
machine-specific-objs += mach_hs7729pci.o setup_hs7729pci.o io_hs7729pci.o
|
49 |
|
|
|
50 |
|
|
obj-$(CONFIG_SH_SOLUTION_ENGINE)+= mach_se.o setup_se.o io_se.o led_se.o
|
51 |
|
|
machine-specific-objs += mach_se.o setup_se.o io_se.o led_se.o
|
52 |
|
|
|
53 |
|
|
obj-$(CONFIG_SH_7751_SOLUTION_ENGINE)+= mach_7751se.o setup_7751se.o \
|
54 |
|
|
io_7751se.o led_se.o
|
55 |
|
|
machine-specific-objs += mach_7751se.o 7751setup_se.o \
|
56 |
|
|
io_7751se.o led_se.o pci-7751se.o
|
57 |
|
|
|
58 |
|
|
obj-$(CONFIG_SH_MOBILE_SOLUTION_ENGINE)+= mach_shmse.o setup_shmse.o \
|
59 |
|
|
io_shmse.o led_se.o
|
60 |
|
|
machine-specific-objs += mach_shmse.o setup_shmse.o \
|
61 |
|
|
io_shmse.o led_se.o
|
62 |
|
|
|
63 |
|
|
obj-$(CONFIG_SH_BIGSUR) += mach_bigsur.o setup_bigsur.o io_bigsur.o led_bigsur.o
|
64 |
|
|
machine-specific-objs += mach_bigsur.o setup_bigsur.o io_bigsur.o led_bigsur.o
|
65 |
|
|
|
66 |
|
|
obj-$(CONFIG_SH_SH2000) += setup_sh2000.o io_sh2000.o
|
67 |
|
|
machine-specific-objs += setup_sh2000.o io_sh2000.o
|
68 |
|
|
|
69 |
|
|
obj-$(CONFIG_SH_CAT68701) += mach_cat68701.o io_cat68701.o
|
70 |
|
|
machine-specific-objs += mach_cat68701.o io_cat68701.o
|
71 |
|
|
|
72 |
|
|
obj-$(CONFIG_SH_CQREEK) += setup_cqreek.o
|
73 |
|
|
machine-specific-objs += setup_cqreek.o
|
74 |
|
|
|
75 |
|
|
obj-$(CONFIG_SH_UNKNOWN) += mach_unknown.o io_unknown.o
|
76 |
|
|
machine-specific-objs += mach_unknown.o io_unknown.o
|
77 |
|
|
|
78 |
|
|
obj-$(CONFIG_HD64461) += setup_hd64461.o io_hd64461.o
|
79 |
|
|
machine-specific-objs += setup_hd64461.o io_hd64461.o
|
80 |
|
|
|
81 |
|
|
obj-$(CONFIG_CPU_SUBTYPE_ST40) +=irq_intc2.o
|
82 |
|
|
|
83 |
|
|
obj-$(CONFIG_SH_ADX) += mach_adx.o setup_adx.o io_adx.o irq_maskreg.o
|
84 |
|
|
machine-specific-objs += mach_adx.o setup_adx.o io_adx.o irq_maskreg.o
|
85 |
|
|
|
86 |
|
|
obj-$(CONFIG_SH_SECUREEDGE5410) += mach_snapgear.o setup_snapgear.o io_snapgear.o
|
87 |
|
|
machine-specific-objs += mach_snapgear.o setup_snapgear.o io_snapgear.o
|
88 |
|
|
ifeq ($(CONFIG_RTC),y)
|
89 |
|
|
obj-$(CONFIG_SH_SECUREEDGE5410) += rtc-snapgear.o
|
90 |
|
|
machine-specific-objs += rtc-snapgear.o
|
91 |
|
|
endif
|
92 |
|
|
|
93 |
|
|
obj-$(CONFIG_SH_KEYWEST) += mach_keywest.o setup_keywest.o io_keywest.o
|
94 |
|
|
machine-specific-objs += mach_keywest.o setup_keywest.o io_keywest.o
|
95 |
|
|
|
96 |
|
|
obj-$(CONFIG_SH_SH4202_MICRODEV)+= mach_microdev.o setup_microdev.o io_microdev.o irq_microdev.o
|
97 |
|
|
machine-specific-objs += mach_microdev.o setup_microdev.o io_microdev.o irq_microdev.o
|
98 |
|
|
|
99 |
|
|
# Doesn't compile well, so don't include in machine-specific-objs
|
100 |
|
|
obj-$(CONFIG_HD64465) += setup_hd64465.o io_hd64465.o hd64465_gpio.o
|
101 |
|
|
obj-$(CONFIG_SH_DMIDA) += mach_dmida.o
|
102 |
|
|
obj-$(CONFIG_SH_EC3104) += setup_ec3104.o io_ec3104.o mach_ec3104.o
|
103 |
|
|
obj-$(CONFIG_SH_DREAMCAST) += mach_dc.o setup_dc.o io_dc.o rtc-aica.o
|
104 |
|
|
|
105 |
|
|
ifeq ($(CONFIG_SH_GENERIC),y)
|
106 |
|
|
obj-y += $(machine-specific-objs)
|
107 |
|
|
endif
|
108 |
|
|
|
109 |
|
|
USE_STANDARD_AS_RULE := true
|
110 |
|
|
|
111 |
|
|
include $(TOPDIR)/Rules.make
|