aboutsummaryrefslogtreecommitdiff
path: root/arch/m68knommu/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-04-16 15:20:36 -0700
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 00000000000..a254aa9d499
--- /dev/null
+++ b/arch/m68knommu/Makefile
@@ -0,0 +1,117 @@
+#
+# arch/m68knommu/Makefile
+#
+# This file is subject to the terms and conditions of the GNU General Public
+# License. See the file "COPYING" in the main directory of this archive
+# for more details.
+#
+# (C) Copyright 2002, Greg Ungerer <gerg@snapgear.com>
+#
+
+platform-$(CONFIG_M68328) := 68328
+platform-$(CONFIG_M68EZ328) := 68EZ328
+platform-$(CONFIG_M68VZ328) := 68VZ328
+platform-$(CONFIG_M68360) := 68360
+platform-$(CONFIG_M5206) := 5206
+platform-$(CONFIG_M5206e) := 5206e
+platform-$(CONFIG_M5249) := 5249
+platform-$(CONFIG_M527x) := 527x
+platform-$(CONFIG_M5272) := 5272
+platform-$(CONFIG_M528x) := 528x
+platform-$(CONFIG_M5307) := 5307
+platform-$(CONFIG_M5407) := 5407
+PLATFORM := $(platform-y)
+
+board-$(CONFIG_PILOT) := pilot
+board-$(CONFIG_UCSIMM) := ucsimm
+board-$(CONFIG_UCDIMM) := ucdimm
+board-$(CONFIG_UCQUICC) := uCquicc
+board-$(CONFIG_DRAGEN2) := de2
+board-$(CONFIG_ARNEWSH) := ARNEWSH
+board-$(CONFIG_MOTOROLA) := MOTOROLA
+board-$(CONFIG_M5271EVB) := M5271EVB
+board-$(CONFIG_M5275EVB) := M5275EVB
+board-$(CONFIG_M5282EVB) := M5282EVB
+board-$(CONFIG_ELITE) := eLITE
+board-$(CONFIG_eLIA) := eLIA
+board-$(CONFIG_NETtel) := NETtel
+board-$(CONFIG_SECUREEDGEMP3) := MP3
+board-$(CONFIG_CLEOPATRA) := CLEOPATRA
+board-$(CONFIG_senTec) := senTec
+board-$(CONFIG_SNEHA) := SNEHA
+BOARD := $(board-y)
+
+model-$(CONFIG_RAMKERNEL) := ram
+model-$(CONFIG_ROMKERNEL) := rom
+MODEL := $(model-y)
+
+#
+# Some code support is grouped together for a common cpu-subclass (for
+# example all ColdFire cpu's are very similar). Determine the sub-class
+# for the selected cpu. ONLY need to define this for the non-base member
+# of the family.
+#
+cpuclass-$(CONFIG_M5206) := 5307
+cpuclass-$(CONFIG_M5206e) := 5307
+cpuclass-$(CONFIG_M5249) := 5307
+cpuclass-$(CONFIG_M527x) := 5307
+cpuclass-$(CONFIG_M5272) := 5307
+cpuclass-$(CONFIG_M528x) := 5307
+cpuclass-$(CONFIG_M5307) := 5307
+cpuclass-$(CONFIG_M5407) := 5307
+cpuclass-$(CONFIG_M68328) := 68328
+cpuclass-$(CONFIG_M68EZ328) := 68328
+cpuclass-$(CONFIG_M68VZ328) := 68328
+cpuclass-$(CONFIG_M68360) := 68360
+CPUCLASS := $(cpuclass-y)
+
+ifneq ($(CPUCLASS),$(PLATFORM))
+CLASSDIR := arch/m68knommu/platform/$(cpuclass-y)/
+endif
+
+export PLATFORM BOARD MODEL CPUCLASS
+
+#
+# Some CFLAG additions based on specific CPU type.
+#
+cflags-$(CONFIG_M5206) := -m5200 -Wa,-S -Wa,-m5200
+cflags-$(CONFIG_M5206e) := -m5200 -Wa,-S -Wa,-m5200
+cflags-$(CONFIG_M5249) := -m5200 -Wa,-S -Wa,-m5200
+cflags-$(CONFIG_M527x) := -m5307 -Wa,-S -Wa,-m5307
+cflags-$(CONFIG_M5272) := -m5307 -Wa,-S -Wa,-m5307
+cflags-$(CONFIG_M528x) := -m5307 -Wa,-S -Wa,-m5307
+cflags-$(CONFIG_M5307) := -m5307 -Wa,-S -Wa,-m5307
+cflags-$(CONFIG_M5407) := -m5200 -Wa,-S -Wa,-m5200
+cflags-$(CONFIG_M68328) := -m68000
+cflags-$(CONFIG_M68EZ328) := -m68000
+cflags-$(CONFIG_M68VZ328) := -m68000
+cflags-$(CONFIG_M68360) := -m68332
+
+AFLAGS += $(cflags-y)
+
+CFLAGS += $(cflags-y)
+CFLAGS += -fno-builtin
+CFLAGS += -O1 -g
+CFLAGS += -D__linux__
+CFLAGS += -DUTS_SYSNAME=\"uClinux\"
+
+head-y := arch/m68knommu/platform/$(cpuclass-y)/head.o
+
+CLEAN_FILES := include/asm-$(ARCH)/asm-offsets.h \
+ arch/$(ARCH)/kernel/asm-offsets.s
+
+core-y += arch/m68knommu/kernel/ \
+ arch/m68knommu/mm/ \
+ $(CLASSDIR) \
+ arch/m68knommu/platform/$(PLATFORM)/
+libs-y += arch/m68knommu/lib/
+
+prepare: include/asm-$(ARCH)/asm-offsets.h
+
+archclean:
+ $(call descend arch/$(ARCH)/boot, subdirclean)
+
+include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \
+ include/asm include/linux/version.h \
+ include/config/MARKER
+ $(call filechk,gen-asm-offsets)