OpenCores
URL https://opencores.org/ocsvn/ao68000/ao68000/trunk

Subversion Repositories ao68000

[/] [ao68000/] [trunk/] [tests/] [soc_for_linux_on_terasic_de2_70/] [software/] [linux-2.6.33.1-ao68000/] [arch/] [m68knommu/] [Makefile] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 alfik
#
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 
9
#
10
 
11
KBUILD_DEFCONFIG := ao68000_defconfig
12
 
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-$(CONFIG_AO68000)      := ao68000
29
PLATFORM := $(platform-y)
30
 
31
board-$(CONFIG_PILOT)           := pilot
32
board-$(CONFIG_UC5272)          := UC5272
33
board-$(CONFIG_UC5282)          := UC5282
34
board-$(CONFIG_UCSIMM)          := ucsimm
35
board-$(CONFIG_UCDIMM)          := ucdimm
36
board-$(CONFIG_UCQUICC)         := uCquicc
37
board-$(CONFIG_DRAGEN2)         := de2
38
board-$(CONFIG_ARNEWSH)         := ARNEWSH
39
board-$(CONFIG_FREESCALE)       := FREESCALE
40
board-$(CONFIG_M5235EVB)        := M5235EVB
41
board-$(CONFIG_M5271EVB)        := M5271EVB
42
board-$(CONFIG_M5275EVB)        := M5275EVB
43
board-$(CONFIG_M5282EVB)        := M5282EVB
44
board-$(CONFIG_ELITE)           := eLITE
45
board-$(CONFIG_NETtel)          := NETtel
46
board-$(CONFIG_SECUREEDGEMP3)   := MP3
47
board-$(CONFIG_CLEOPATRA)       := CLEOPATRA
48
board-$(CONFIG_senTec)          := senTec
49
board-$(CONFIG_SNEHA)           := SNEHA
50
board-$(CONFIG_M5208EVB)        := M5208EVB
51
board-$(CONFIG_MOD5272)         := MOD5272
52
board-$(CONFIG_AVNET)           := AVNET
53
board-$(CONFIG_SAVANT)          := SAVANT
54
board-$(CONFIG_TERASICDE2)      := TERASICDE2
55
 
56
BOARD := $(board-y)
57
 
58
model-$(CONFIG_RAMKERNEL)       := ram
59
model-$(CONFIG_ROMKERNEL)       := rom
60
MODEL := $(model-y)
61
 
62
#
63
# Some code support is grouped together for a common cpu-subclass (for
64
# example all ColdFire cpu's are very similar). Determine the sub-class
65
# for the selected cpu. ONLY need to define this for the non-base member
66
# of the family.
67
#
68
cpuclass-$(CONFIG_M5206)        := coldfire
69
cpuclass-$(CONFIG_M5206e)       := coldfire
70
cpuclass-$(CONFIG_M520x)        := coldfire
71
cpuclass-$(CONFIG_M523x)        := coldfire
72
cpuclass-$(CONFIG_M5249)        := coldfire
73
cpuclass-$(CONFIG_M527x)        := coldfire
74
cpuclass-$(CONFIG_M5272)        := coldfire
75
cpuclass-$(CONFIG_M528x)        := coldfire
76
cpuclass-$(CONFIG_M5307)        := coldfire
77
cpuclass-$(CONFIG_M532x)        := coldfire
78
cpuclass-$(CONFIG_M5407)        := coldfire
79
cpuclass-$(CONFIG_M68328)       := 68328
80
cpuclass-$(CONFIG_M68EZ328)     := 68328
81
cpuclass-$(CONFIG_M68VZ328)     := 68328
82
cpuclass-$(CONFIG_M68360)       := 68360
83
cpuclass-$(CONFIG_AO68000)      := ao68000
84
CPUCLASS := $(cpuclass-y)
85
 
86
ifneq ($(CPUCLASS),$(PLATFORM))
87
CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
88
endif
89
 
90
export PLATFORM BOARD MODEL CPUCLASS
91
 
92
#
93
# Some CFLAG additions based on specific CPU type.
94
#
95
cflags-$(CONFIG_M5206)          := $(call cc-option,-mcpu=5206,-m5200)
96
cflags-$(CONFIG_M5206e)         := $(call cc-option,-m5206e,-m5200)
97
cflags-$(CONFIG_M520x)          := $(call cc-option,-mcpu=5208,-m5200)
98
cflags-$(CONFIG_M523x)          := $(call cc-option,-mcpu=523x,-m5307)
99
cflags-$(CONFIG_M5249)          := $(call cc-option,-mcpu=5249,-m5200)
100
cflags-$(CONFIG_M5271)          := $(call cc-option,-mcpu=5271,-m5307)
101
cflags-$(CONFIG_M5272)          := $(call cc-option,-mcpu=5271,-m5200)
102
cflags-$(CONFIG_M5275)          := $(call cc-option,-mcpu=5275,-m5307)
103
cflags-$(CONFIG_M528x)          := $(call cc-option,-m528x,-m5307)
104
cflags-$(CONFIG_M5307)          := $(call cc-option,-m5307,-m5200)
105
cflags-$(CONFIG_M532x)          := $(call cc-option,-mcpu=532x,-m5307)
106
cflags-$(CONFIG_M5407)          := $(call cc-option,-m5407,-m5200)
107
cflags-$(CONFIG_M68328)         := -m68000
108
cflags-$(CONFIG_M68EZ328)       := -m68000
109
cflags-$(CONFIG_M68VZ328)       := -m68000
110
cflags-$(CONFIG_M68360)         := -m68332
111
cflags-$(CONFIG_AO68000)        := -m68000
112
 
113
KBUILD_AFLAGS += $(cflags-y)
114
KBUILD_AFLAGS += -D__uClinux__
115
 
116
KBUILD_CFLAGS += $(cflags-y)
117
KBUILD_CFLAGS += -D__uClinux__
118
KBUILD_CFLAGS += -DUTS_SYSNAME=\"uClinux\"
119
 
120
head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
121
 
122
core-y  += arch/m68knommu/kernel/ \
123
           arch/m68knommu/mm/ \
124
           $(CLASSDIR) \
125
           arch/m68knommu/platform/$(PLATFORM)/
126
libs-y  += arch/m68knommu/lib/
127
 
128
archclean:
129
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.