File: Makefile

package info (click to toggle)
kernel-source-2.4.27 2.4.27-10sarge5
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 191,224 kB
  • ctags: 610,077
  • sloc: ansic: 3,299,602; asm: 164,708; makefile: 10,962; sh: 3,725; perl: 2,273; yacc: 1,651; cpp: 820; lex: 752; tcl: 577; awk: 251; lisp: 218; sed: 79
file content (111 lines) | stat: -rw-r--r-- 3,977 bytes parent folder | download
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
#
# 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).
#

all: kernel.o head.o init_task.o

clean:

O_TARGET := kernel.o

export-objs	:= io.o io_generic.o io_hd64461.o setup_hd64461.o sh_ksyms.o \
		   dma.o

obj-y	:= process.o signal.o entry.o traps.o irq.o irq_ipr.o \
	ptrace.o setup.o time.o sys_sh.o semaphore.o \
	irq_imask.o io.o io_generic.o sh_ksyms.o ubc.o

obj-$(CONFIG_CF_ENABLER)	+= cf-enabler.o
obj-$(CONFIG_CPU_SH4)		+= fpu.o
obj-$(CONFIG_SH_RTC)            += rtc.o
obj-$(CONFIG_SH_DMA)		+= dma.o
obj-$(CONFIG_SH_STANDARD_BIOS)	+= sh_bios.o
obj-$(CONFIG_SH_KGDB)		+= kgdb_stub.o kgdb_jmp.o

ifeq ($(CONFIG_PCI),y)
ifeq ($(CONFIG_SH_DREAMCAST),y)
obj-y 				+= pci-dc.o pcibios.o
else
obj-y                           += pci-dma.o pcibios.o
obj-$(CONFIG_CPU_SUBTYPE_ST40)+= pci_st40.o
obj-$(CONFIG_CPU_SUBTYPE_SH7751)+= pci-sh7751.o 
obj-$(CONFIG_SH_BIGSUR)+= pci-bigsur.o
obj-$(CONFIG_SH_7751_SOLUTION_ENGINE)+= pci-7751se.o
obj-$(CONFIG_PCI_SD0001)+= pci-sd0001.o
obj-$(CONFIG_SH_SECUREEDGE5410)	+= pci-snapgear.o
obj-$(CONFIG_SH_KEYWEST)	+= pci-v320usc.o
endif
endif

obj-$(CONFIG_SH_HP600)		+= mach_hp600.o
machine-specific-objs		+= mach_hp600.o

obj-$(CONFIG_SH_HS7729PCI)	+= mach_hs7729pci.o setup_hs7729pci.o io_hs7729pci.o
machine-specific-objs		+= mach_hs7729pci.o setup_hs7729pci.o io_hs7729pci.o

obj-$(CONFIG_SH_SOLUTION_ENGINE)+= mach_se.o setup_se.o io_se.o led_se.o
machine-specific-objs		+= mach_se.o setup_se.o io_se.o led_se.o

obj-$(CONFIG_SH_7751_SOLUTION_ENGINE)+= mach_7751se.o setup_7751se.o \
					io_7751se.o led_se.o
machine-specific-objs           += mach_7751se.o 7751setup_se.o \
				   io_7751se.o led_se.o pci-7751se.o

obj-$(CONFIG_SH_MOBILE_SOLUTION_ENGINE)+= mach_shmse.o setup_shmse.o \
					io_shmse.o led_se.o
machine-specific-objs          	+= mach_shmse.o setup_shmse.o \
				   io_shmse.o led_se.o

obj-$(CONFIG_SH_BIGSUR)		+= mach_bigsur.o setup_bigsur.o io_bigsur.o led_bigsur.o
machine-specific-objs		+= mach_bigsur.o setup_bigsur.o io_bigsur.o led_bigsur.o

obj-$(CONFIG_SH_SH2000)		+= setup_sh2000.o io_sh2000.o
machine-specific-objs		+= setup_sh2000.o io_sh2000.o

obj-$(CONFIG_SH_CAT68701) 	+= mach_cat68701.o io_cat68701.o
machine-specific-objs		+= mach_cat68701.o io_cat68701.o

obj-$(CONFIG_SH_CQREEK)		+= setup_cqreek.o
machine-specific-objs		+= setup_cqreek.o

obj-$(CONFIG_SH_UNKNOWN)	+= mach_unknown.o io_unknown.o
machine-specific-objs		+= mach_unknown.o io_unknown.o

obj-$(CONFIG_HD64461)		+= setup_hd64461.o io_hd64461.o
machine-specific-objs		+= setup_hd64461.o io_hd64461.o

obj-$(CONFIG_CPU_SUBTYPE_ST40) +=irq_intc2.o

obj-$(CONFIG_SH_ADX)		+= mach_adx.o setup_adx.o io_adx.o irq_maskreg.o
machine-specific-objs		+= mach_adx.o setup_adx.o io_adx.o irq_maskreg.o

obj-$(CONFIG_SH_SECUREEDGE5410)	+= mach_snapgear.o setup_snapgear.o io_snapgear.o
machine-specific-objs		+= mach_snapgear.o setup_snapgear.o io_snapgear.o
ifeq ($(CONFIG_RTC),y)
obj-$(CONFIG_SH_SECUREEDGE5410)	+= rtc-snapgear.o
machine-specific-objs		+= rtc-snapgear.o
endif

obj-$(CONFIG_SH_KEYWEST)	+= mach_keywest.o setup_keywest.o io_keywest.o
machine-specific-objs		+= mach_keywest.o setup_keywest.o io_keywest.o

obj-$(CONFIG_SH_SH4202_MICRODEV)+= mach_microdev.o setup_microdev.o io_microdev.o irq_microdev.o
machine-specific-objs		+= mach_microdev.o setup_microdev.o io_microdev.o irq_microdev.o

# Doesn't compile well, so don't include in machine-specific-objs
obj-$(CONFIG_HD64465)		+= setup_hd64465.o io_hd64465.o hd64465_gpio.o
obj-$(CONFIG_SH_DMIDA)		+= mach_dmida.o
obj-$(CONFIG_SH_EC3104)         += setup_ec3104.o io_ec3104.o mach_ec3104.o
obj-$(CONFIG_SH_DREAMCAST)	+= mach_dc.o setup_dc.o io_dc.o rtc-aica.o

ifeq ($(CONFIG_SH_GENERIC),y)
obj-y		+= $(machine-specific-objs)
endif

USE_STANDARD_AS_RULE := true

include $(TOPDIR)/Rules.make