summaryrefslogtreecommitdiff
path: root/arch/m68k/platform/68328/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/platform/68328/Makefile')
-rw-r--r--arch/m68k/platform/68328/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/m68k/platform/68328/Makefile b/arch/m68k/platform/68328/Makefile
new file mode 100644
index 00000000..ee61bf84
--- /dev/null
+++ b/arch/m68k/platform/68328/Makefile
@@ -0,0 +1,21 @@
+#
+# Makefile for arch/m68knommu/platform/68328.
+#
+
+model-y := ram
+model-$(CONFIG_ROMKERNEL) := rom
+
+head-y = head-$(model-y).o
+head-$(CONFIG_PILOT) = head-pilot.o
+head-$(CONFIG_DRAGEN2) = head-de2.o
+
+obj-y += entry.o ints.o timers.o
+obj-$(CONFIG_M68328) += config.o
+obj-$(CONFIG_ROM) += romvec.o
+
+extra-y := head.o
+
+$(obj)/head.o: $(obj)/$(head-y)
+ ln -sf $(head-y) $(obj)/head.o
+
+clean-files := $(obj)/head.o $(head-y)