m68k: convert to asm-generic/hardirq.h
[linux-2.6/linux-2.6-openrd.git] / arch / m68knommu / Makefile
blobce404bc9ccbdff8acf6c2160719964e4a0cfd6cd
2 # arch/m68knommu/Makefile
4 # This file is subject to the terms and conditions of the GNU General Public
5 # License. See the file "COPYING" in the main directory of this archive
6 # for more details.
8 # (C) Copyright 2002, Greg Ungerer <gerg@snapgear.com>
11 KBUILD_DEFCONFIG := m5208evb_defconfig
13 platform-$(CONFIG_M68328) := 68328
14 platform-$(CONFIG_M68EZ328) := 68EZ328
15 platform-$(CONFIG_M68VZ328) := 68VZ328
16 platform-$(CONFIG_M68360) := 68360
17 platform-$(CONFIG_M5206) := 5206
18 platform-$(CONFIG_M5206e) := 5206e
19 platform-$(CONFIG_M520x) := 520x
20 platform-$(CONFIG_M523x) := 523x
21 platform-$(CONFIG_M5249) := 5249
22 platform-$(CONFIG_M527x) := 527x
23 platform-$(CONFIG_M5272) := 5272
24 platform-$(CONFIG_M528x) := 528x
25 platform-$(CONFIG_M5307) := 5307
26 platform-$(CONFIG_M532x) := 532x
27 platform-$(CONFIG_M5407) := 5407
28 PLATFORM := $(platform-y)
30 board-$(CONFIG_PILOT) := pilot
31 board-$(CONFIG_UC5272) := UC5272
32 board-$(CONFIG_UC5282) := UC5282
33 board-$(CONFIG_UCSIMM) := ucsimm
34 board-$(CONFIG_UCDIMM) := ucdimm
35 board-$(CONFIG_UCQUICC) := uCquicc
36 board-$(CONFIG_DRAGEN2) := de2
37 board-$(CONFIG_ARNEWSH) := ARNEWSH
38 board-$(CONFIG_FREESCALE) := FREESCALE
39 board-$(CONFIG_M5235EVB) := M5235EVB
40 board-$(CONFIG_M5271EVB) := M5271EVB
41 board-$(CONFIG_M5275EVB) := M5275EVB
42 board-$(CONFIG_M5282EVB) := M5282EVB
43 board-$(CONFIG_ELITE) := eLITE
44 board-$(CONFIG_NETtel) := NETtel
45 board-$(CONFIG_SECUREEDGEMP3) := MP3
46 board-$(CONFIG_CLEOPATRA) := CLEOPATRA
47 board-$(CONFIG_senTec) := senTec
48 board-$(CONFIG_SNEHA) := SNEHA
49 board-$(CONFIG_M5208EVB) := M5208EVB
50 board-$(CONFIG_MOD5272) := MOD5272
51 board-$(CONFIG_AVNET) := AVNET
52 board-$(CONFIG_SAVANT) := SAVANT
53 BOARD := $(board-y)
55 model-$(CONFIG_RAMKERNEL) := ram
56 model-$(CONFIG_ROMKERNEL) := rom
57 MODEL := $(model-y)
60 # Some code support is grouped together for a common cpu-subclass (for
61 # example all ColdFire cpu's are very similar). Determine the sub-class
62 # for the selected cpu. ONLY need to define this for the non-base member
63 # of the family.
65 cpuclass-$(CONFIG_M5206) := coldfire
66 cpuclass-$(CONFIG_M5206e) := coldfire
67 cpuclass-$(CONFIG_M520x) := coldfire
68 cpuclass-$(CONFIG_M523x) := coldfire
69 cpuclass-$(CONFIG_M5249) := coldfire
70 cpuclass-$(CONFIG_M527x) := coldfire
71 cpuclass-$(CONFIG_M5272) := coldfire
72 cpuclass-$(CONFIG_M528x) := coldfire
73 cpuclass-$(CONFIG_M5307) := coldfire
74 cpuclass-$(CONFIG_M532x) := coldfire
75 cpuclass-$(CONFIG_M5407) := coldfire
76 cpuclass-$(CONFIG_M68328) := 68328
77 cpuclass-$(CONFIG_M68EZ328) := 68328
78 cpuclass-$(CONFIG_M68VZ328) := 68328
79 cpuclass-$(CONFIG_M68360) := 68360
80 CPUCLASS := $(cpuclass-y)
82 ifneq ($(CPUCLASS),$(PLATFORM))
83 CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
84 endif
86 export PLATFORM BOARD MODEL CPUCLASS
89 # Some CFLAG additions based on specific CPU type.
91 cflags-$(CONFIG_M5206) := $(call cc-option,-mcpu=5206,-m5200)
92 cflags-$(CONFIG_M5206e) := $(call cc-option,-m5206e,-m5200)
93 cflags-$(CONFIG_M520x) := $(call cc-option,-mcpu=5208,-m5200)
94 cflags-$(CONFIG_M523x) := $(call cc-option,-mcpu=523x,-m5307)
95 cflags-$(CONFIG_M5249) := $(call cc-option,-mcpu=5249,-m5200)
96 cflags-$(CONFIG_M5271) := $(call cc-option,-mcpu=5271,-m5307)
97 cflags-$(CONFIG_M5272) := $(call cc-option,-mcpu=5271,-m5200)
98 cflags-$(CONFIG_M5275) := $(call cc-option,-mcpu=5275,-m5307)
99 cflags-$(CONFIG_M528x) := $(call cc-option,-m528x,-m5307)
100 cflags-$(CONFIG_M5307) := $(call cc-option,-m5307,-m5200)
101 cflags-$(CONFIG_M532x) := $(call cc-option,-mcpu=532x,-m5307)
102 cflags-$(CONFIG_M5407) := $(call cc-option,-m5407,-m5200)
103 cflags-$(CONFIG_M68328) := -m68000
104 cflags-$(CONFIG_M68EZ328) := -m68000
105 cflags-$(CONFIG_M68VZ328) := -m68000
106 cflags-$(CONFIG_M68360) := -m68332
108 KBUILD_AFLAGS += $(cflags-y)
110 KBUILD_CFLAGS += $(cflags-y)
111 KBUILD_CFLAGS += -D__linux__
112 KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
114 head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
116 core-y += arch/m68knommu/kernel/ \
117 arch/m68knommu/mm/ \
118 $(CLASSDIR) \
119 arch/m68knommu/platform/$(PLATFORM)/
120 libs-y += arch/m68knommu/lib/
122 archclean: