aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 18:20:36 -0400
commit1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch)
tree0bba044c4ce775e45a88a51686b5d9f90697ea9d /arch/m68knommu/Makefile
Linux-2.6.12-rc2v2.6.12-rc2
Initial git repository build. I'm not bothering with the full history, even though we have it. We can create a separate "historical" git archive of that later if we want to, and in the meantime it's about 3.2GB when imported into git - space that would just make the early git days unnecessarily complicated, when we don't have a lot of good infrastructure for it. Let it rip!
Diffstat (limited to 'arch/m68knommu/Makefile')
-rw-r--r--arch/m68knommu/Makefile117
1 files changed, 117 insertions, 0 deletions
diff --git a/arch/m68knommu/Makefile b/arch/m68knommu/Makefile
new file mode 100644
index 000000000000..a254aa9d4998
--- /dev/null
+++ b/arch/m68knommu/Makefile
@@ -0,0 +1,117 @@
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
17platform-$(CONFIG_M5249) := 5249
18platform-$(CONFIG_M527x) := 527x
19platform-$(CONFIG_M5272) := 5272
20platform-$(CONFIG_M528x) := 528x
21platform-$(CONFIG_M5307) := 5307
22platform-$(CONFIG_M5407) := 5407
23PLATFORM := $(platform-y)
24
25board-$(CONFIG_PILOT) := pilot
26board-$(CONFIG_UCSIMM) := ucsimm
27board-$(CONFIG_UCDIMM) := ucdimm
28board-$(CONFIG_UCQUICC) := uCquicc
29board-$(CONFIG_DRAGEN2) := de2
30board-$(CONFIG_ARNEWSH) := ARNEWSH
31board-$(CONFIG_MOTOROLA) := MOTOROLA
32board-$(CONFIG_M5271EVB) := M5271EVB
33board-$(CONFIG_M5275EVB) := M5275EVB
34board-$(CONFIG_M5282EVB) := M5282EVB
35board-$(CONFIG_ELITE) := eLITE
36board-$(CONFIG_eLIA) := eLIA
37board-$(CONFIG_NETtel) := NETtel
38board-$(CONFIG_SECUREEDGEMP3) := MP3
39board-$(CONFIG_CLEOPATRA) := CLEOPATRA
40board-$(CONFIG_senTec) := senTec
41board-$(CONFIG_SNEHA) := SNEHA
42BOARD := $(board-y)
43
44model-$(CONFIG_RAMKERNEL) := ram
45model-$(CONFIG_ROMKERNEL) := rom
46MODEL := $(model-y)
47
48#
49# Some code support is grouped together for a common cpu-subclass (for
50# example all ColdFire cpu's are very similar). Determine the sub-class
51# for the selected cpu. ONLY need to define this for the non-base member
52# of the family.
53#
54cpuclass-$(CONFIG_M5206) := 5307
55cpuclass-$(CONFIG_M5206e) := 5307
56cpuclass-$(CONFIG_M5249) := 5307
57cpuclass-$(CONFIG_M527x) := 5307
58cpuclass-$(CONFIG_M5272) := 5307
59cpuclass-$(CONFIG_M528x) := 5307
60cpuclass-$(CONFIG_M5307) := 5307
61cpuclass-$(CONFIG_M5407) := 5307
62cpuclass-$(CONFIG_M68328) := 68328
63cpuclass-$(CONFIG_M68EZ328) := 68328
64cpuclass-$(CONFIG_M68VZ328) := 68328
65cpuclass-$(CONFIG_M68360) := 68360
66CPUCLASS := $(cpuclass-y)
67
68ifneq ($(CPUCLASS),$(PLATFORM))
69CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
70endif
71
72export PLATFORM BOARD MODEL CPUCLASS
73
74#
75# Some CFLAG additions based on specific CPU type.
76#
77cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200
78cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200
79cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200
80cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307
81cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307
82cflags-$(CONFIG_M528x) := -m5307 -Wa,-S -Wa,-m5307
83cflags-$(CONFIG_M5307) := -m5307 -Wa,-S -Wa,-m5307
84cflags-$(CONFIG_M5407) := -m5200 -Wa,-S -Wa,-m5200
85cflags-$(CONFIG_M68328) := -m68000
86cflags-$(CONFIG_M68EZ328) := -m68000
87cflags-$(CONFIG_M68VZ328) := -m68000
88cflags-$(CONFIG_M68360) := -m68332
89
90AFLAGS += $(cflags-y)
91
92CFLAGS += $(cflags-y)
93CFLAGS += -fno-builtin
94CFLAGS += -O1 -g
95CFLAGS += -D__linux__
96CFLAGS += -DUTS_SYSNAME=\"uClinux\"
97
98head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
99
100CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \
101 arch/$(ARCH)/kernel/asm-offsets.s
102
103core-y += arch/m68knommu/kernel/ \
104 arch/m68knommu/mm/ \
105 $(CLASSDIR) \
106 arch/m68knommu/platform/$(PLATFORM)/
107libs-y += arch/m68knommu/lib/
108
109prepare: include/asm-$(ARCH)/asm-offsets.h
110
111archclean:
112 $(call descend arch/$(ARCH)/boot, subdirclean)
113
114include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
115 include/asm include/linux/version.h \
116 include/config/MARKER
117 $(call filechk,gen-asm-offsets)