aboutsummaryrefslogtreecommitdiff
path: root/arch/m68k/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/kernel/vmlinux.lds.S')
-rw-r--r--arch/m68k/kernel/vmlinux.lds.S5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/m68k/kernel/vmlinux.lds.S b/arch/m68k/kernel/vmlinux.lds.S
index 497b924f3c8..69ec7963887 100644
--- a/arch/m68k/kernel/vmlinux.lds.S
+++ b/arch/m68k/kernel/vmlinux.lds.S
@@ -1,4 +1,4 @@
-#include <linux/config.h>
+#if defined(CONFIG_MMU) && !defined(CONFIG_COLDFIRE)
PHDRS
{
text PT_LOAD FILEHDR PHDRS FLAGS (7);
@@ -9,3 +9,6 @@ PHDRS
#else
#include "vmlinux-std.lds"
#endif
+#else
+#include "vmlinux-nommu.lds"
+#endif