|
@@ -16,6 +16,13 @@
|
|
|
|
|
|
KBUILD_DEFCONFIG := multi_defconfig
|
|
|
|
|
|
+ifneq ($(SUBARCH),$(ARCH))
|
|
|
+ ifeq ($(CROSS_COMPILE),)
|
|
|
+ CROSS_COMPILE := $(call cc-cross-prefix, \
|
|
|
+ m68k-linux-gnu- m68k-linux- m68k-unknown-linux-gnu-)
|
|
|
+ endif
|
|
|
+endif
|
|
|
+
|
|
|
#
|
|
|
# Enable processor type. Ordering of these is important - we want to
|
|
|
# use the minimum processor type of the range we support. The logic
|
|
@@ -62,12 +69,6 @@ endif
|
|
|
|
|
|
LDFLAGS := -m m68kelf
|
|
|
KBUILD_LDFLAGS_MODULE += -T $(srctree)/arch/m68k/kernel/module.lds
|
|
|
-ifneq ($(SUBARCH),$(ARCH))
|
|
|
- ifeq ($(CROSS_COMPILE),)
|
|
|
- CROSS_COMPILE := $(call cc-cross-prefix, \
|
|
|
- m68k-linux-gnu- m68k-linux- m68k-unknown-linux-gnu-)
|
|
|
- endif
|
|
|
-endif
|
|
|
|
|
|
ifdef CONFIG_SUN3
|
|
|
LDFLAGS_vmlinux = -N
|