m68knommu: no separate stack region to report at startup
[linux-2.6-block.git] / arch / m68knommu / Makefile
CommitLineData
1da177e4
LT
1#
2# arch/m68knommu/Makefile
3#
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.
7#
8# (C) Copyright 2002, Greg Ungerer <gerg@snapgear.com>
9#
10
11platform-$(CONFIG_M68328) := 68328
12platform-$(CONFIG_M68EZ328) := 68EZ328
13platform-$(CONFIG_M68VZ328) := 68VZ328
14platform-$(CONFIG_M68360) := 68360
15platform-$(CONFIG_M5206) := 5206
16platform-$(CONFIG_M5206e) := 5206e
9ed8a0d6 17platform-$(CONFIG_M520x) := 520x
777354b6 18platform-$(CONFIG_M523x) := 523x
1da177e4
LT
19platform-$(CONFIG_M5249) := 5249
20platform-$(CONFIG_M527x) := 527x
21platform-$(CONFIG_M5272) := 5272
22platform-$(CONFIG_M528x) := 528x
23platform-$(CONFIG_M5307) := 5307
9a6404b4 24platform-$(CONFIG_M532x) := 532x
1da177e4
LT
25platform-$(CONFIG_M5407) := 5407
26PLATFORM := $(platform-y)
27
28board-$(CONFIG_PILOT) := pilot
33e7a72a
GU
29board-$(CONFIG_UC5272) := UC5272
30board-$(CONFIG_UC5282) := UC5282
1da177e4
LT
31board-$(CONFIG_UCSIMM) := ucsimm
32board-$(CONFIG_UCDIMM) := ucdimm
33board-$(CONFIG_UCQUICC) := uCquicc
34board-$(CONFIG_DRAGEN2) := de2
35board-$(CONFIG_ARNEWSH) := ARNEWSH
9ed8a0d6 36board-$(CONFIG_FREESCALE) := FREESCALE
777354b6 37board-$(CONFIG_M5235EVB) := M5235EVB
1da177e4
LT
38board-$(CONFIG_M5271EVB) := M5271EVB
39board-$(CONFIG_M5275EVB) := M5275EVB
40board-$(CONFIG_M5282EVB) := M5282EVB
41board-$(CONFIG_ELITE) := eLITE
42board-$(CONFIG_eLIA) := eLIA
43board-$(CONFIG_NETtel) := NETtel
44board-$(CONFIG_SECUREEDGEMP3) := MP3
45board-$(CONFIG_CLEOPATRA) := CLEOPATRA
46board-$(CONFIG_senTec) := senTec
47board-$(CONFIG_SNEHA) := SNEHA
9ed8a0d6 48board-$(CONFIG_M5208EVB) := M5208EVB
777354b6 49board-$(CONFIG_MOD5272) := MOD5272
121036e5 50board-$(CONFIG_AVNET) := AVNET
1da177e4
LT
51BOARD := $(board-y)
52
53model-$(CONFIG_RAMKERNEL) := ram
54model-$(CONFIG_ROMKERNEL) := rom
55MODEL := $(model-y)
56
57#
58# Some code support is grouped together for a common cpu-subclass (for
59# example all ColdFire cpu's are very similar). Determine the sub-class
60# for the selected cpu. ONLY need to define this for the non-base member
61# of the family.
62#
63cpuclass-$(CONFIG_M5206) := 5307
64cpuclass-$(CONFIG_M5206e) := 5307
9ed8a0d6 65cpuclass-$(CONFIG_M520x) := 5307
777354b6 66cpuclass-$(CONFIG_M523x) := 5307
1da177e4
LT
67cpuclass-$(CONFIG_M5249) := 5307
68cpuclass-$(CONFIG_M527x) := 5307
69cpuclass-$(CONFIG_M5272) := 5307
70cpuclass-$(CONFIG_M528x) := 5307
71cpuclass-$(CONFIG_M5307) := 5307
9a6404b4 72cpuclass-$(CONFIG_M532x) := 5307
1da177e4
LT
73cpuclass-$(CONFIG_M5407) := 5307
74cpuclass-$(CONFIG_M68328) := 68328
75cpuclass-$(CONFIG_M68EZ328) := 68328
76cpuclass-$(CONFIG_M68VZ328) := 68328
77cpuclass-$(CONFIG_M68360) := 68360
78CPUCLASS := $(cpuclass-y)
79
80ifneq ($(CPUCLASS),$(PLATFORM))
81CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
82endif
83
84export PLATFORM BOARD MODEL CPUCLASS
85
86#
87# Some CFLAG additions based on specific CPU type.
88#
3f787bff
PDM
89cflags-$(CONFIG_M5206) := -m5200
90cflags-$(CONFIG_M5206e) := -m5200
91cflags-$(CONFIG_M520x) := -m5307
92cflags-$(CONFIG_M523x) := -m5307
93cflags-$(CONFIG_M5249) := -m5200
94cflags-$(CONFIG_M527x) := -m5307
95cflags-$(CONFIG_M5272) := -m5307
96cflags-$(CONFIG_M528x) := -m5307
97cflags-$(CONFIG_M5307) := -m5307
98cflags-$(CONFIG_M532x) := -m5307
99cflags-$(CONFIG_M5407) := -m5200
1da177e4
LT
100cflags-$(CONFIG_M68328) := -m68000
101cflags-$(CONFIG_M68EZ328) := -m68000
102cflags-$(CONFIG_M68VZ328) := -m68000
103cflags-$(CONFIG_M68360) := -m68332
104
222d394d 105KBUILD_AFLAGS += $(cflags-y)
1da177e4 106
a0f97e06
SR
107KBUILD_CFLAGS += $(cflags-y)
108KBUILD_CFLAGS += -D__linux__
109KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
1da177e4
LT
110
111head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
112
1da177e4
LT
113core-y += arch/m68knommu/kernel/ \
114 arch/m68knommu/mm/ \
115 $(CLASSDIR) \
116 arch/m68knommu/platform/$(PLATFORM)/
117libs-y += arch/m68knommu/lib/
118
1da177e4 119archclean:
7c6b155f 120 $(Q)$(MAKE) $(clean)=arch/m68knommu/boot