]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blame - arch/m68knommu/Makefile
[PATCH] s390: cio non-unique path group ids
[mirror_ubuntu-artful-kernel.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
24platform-$(CONFIG_M5407) := 5407
25PLATFORM := $(platform-y)
26
27board-$(CONFIG_PILOT) := pilot
28board-$(CONFIG_UCSIMM) := ucsimm
29board-$(CONFIG_UCDIMM) := ucdimm
30board-$(CONFIG_UCQUICC) := uCquicc
31board-$(CONFIG_DRAGEN2) := de2
32board-$(CONFIG_ARNEWSH) := ARNEWSH
9ed8a0d6 33board-$(CONFIG_FREESCALE) := FREESCALE
777354b6 34board-$(CONFIG_M5235EVB) := M5235EVB
1da177e4
LT
35board-$(CONFIG_M5271EVB) := M5271EVB
36board-$(CONFIG_M5275EVB) := M5275EVB
37board-$(CONFIG_M5282EVB) := M5282EVB
38board-$(CONFIG_ELITE) := eLITE
39board-$(CONFIG_eLIA) := eLIA
40board-$(CONFIG_NETtel) := NETtel
41board-$(CONFIG_SECUREEDGEMP3) := MP3
42board-$(CONFIG_CLEOPATRA) := CLEOPATRA
43board-$(CONFIG_senTec) := senTec
44board-$(CONFIG_SNEHA) := SNEHA
9ed8a0d6 45board-$(CONFIG_M5208EVB) := M5208EVB
777354b6 46board-$(CONFIG_MOD5272) := MOD5272
1da177e4
LT
47BOARD := $(board-y)
48
49model-$(CONFIG_RAMKERNEL) := ram
50model-$(CONFIG_ROMKERNEL) := rom
51MODEL := $(model-y)
52
53#
54# Some code support is grouped together for a common cpu-subclass (for
55# example all ColdFire cpu's are very similar). Determine the sub-class
56# for the selected cpu. ONLY need to define this for the non-base member
57# of the family.
58#
59cpuclass-$(CONFIG_M5206) := 5307
60cpuclass-$(CONFIG_M5206e) := 5307
9ed8a0d6 61cpuclass-$(CONFIG_M520x) := 5307
777354b6 62cpuclass-$(CONFIG_M523x) := 5307
1da177e4
LT
63cpuclass-$(CONFIG_M5249) := 5307
64cpuclass-$(CONFIG_M527x) := 5307
65cpuclass-$(CONFIG_M5272) := 5307
66cpuclass-$(CONFIG_M528x) := 5307
67cpuclass-$(CONFIG_M5307) := 5307
68cpuclass-$(CONFIG_M5407) := 5307
69cpuclass-$(CONFIG_M68328) := 68328
70cpuclass-$(CONFIG_M68EZ328) := 68328
71cpuclass-$(CONFIG_M68VZ328) := 68328
72cpuclass-$(CONFIG_M68360) := 68360
73CPUCLASS := $(cpuclass-y)
74
75ifneq ($(CPUCLASS),$(PLATFORM))
76CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
77endif
78
79export PLATFORM BOARD MODEL CPUCLASS
80
81#
82# Some CFLAG additions based on specific CPU type.
83#
84cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200
85cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200
9ed8a0d6 86cflags-$(CONFIG_M520x) := -m5307 -Wa,-S -Wa,-m5307
777354b6 87cflags-$(CONFIG_M523x) := -m5307 -Wa,-S -Wa,-m5307
1da177e4
LT
88cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200
89cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307
90cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307
91cflags-$(CONFIG_M528x) := -m5307 -Wa,-S -Wa,-m5307
92cflags-$(CONFIG_M5307) := -m5307 -Wa,-S -Wa,-m5307
93cflags-$(CONFIG_M5407) := -m5200 -Wa,-S -Wa,-m5200
94cflags-$(CONFIG_M68328) := -m68000
95cflags-$(CONFIG_M68EZ328) := -m68000
96cflags-$(CONFIG_M68VZ328) := -m68000
97cflags-$(CONFIG_M68360) := -m68332
98
99AFLAGS += $(cflags-y)
100
101CFLAGS += $(cflags-y)
1da177e4
LT
102CFLAGS += -D__linux__
103CFLAGS += -DUTS_SYSNAME=\"uClinux\"
104
105head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
106
1da177e4
LT
107core-y += arch/m68knommu/kernel/ \
108 arch/m68knommu/mm/ \
109 $(CLASSDIR) \
110 arch/m68knommu/platform/$(PLATFORM)/
111libs-y += arch/m68knommu/lib/
112
1da177e4 113archclean:
7c6b155f 114 $(Q)$(MAKE) $(clean)=arch/m68knommu/boot