aboutsummaryrefslogtreecommitdiffstats
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/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/m68k/platform/68328/Makefile b/arch/m68k/platform/68328/Makefile
index 5e54355..e4dfd8f 100644
--- a/arch/m68k/platform/68328/Makefile
+++ b/arch/m68k/platform/68328/Makefile
@@ -2,7 +2,10 @@
# Makefile for arch/m68knommu/platform/68328.
#
-head-y = head-$(MODEL).o
+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