|
@@ -15,6 +15,12 @@ ifneq ($(SUBARCH),$(ARCH))
|
|
|
endif
|
|
|
endif
|
|
|
|
|
|
+ifeq ($(ARCH),sh)
|
|
|
+KBUILD_DEFCONFIG := shx3_defconfig
|
|
|
+else
|
|
|
+KBUILD_DEFCONFIG := cayman_defconfig
|
|
|
+endif
|
|
|
+
|
|
|
isa-y := any
|
|
|
isa-$(CONFIG_SH_DSP) := sh
|
|
|
isa-$(CONFIG_CPU_SH2) := sh2
|
|
@@ -105,14 +111,12 @@ ifdef CONFIG_SUPERH32
|
|
|
UTS_MACHINE := sh
|
|
|
BITS := 32
|
|
|
LDFLAGS_vmlinux += -e _stext
|
|
|
-KBUILD_DEFCONFIG := shx3_defconfig
|
|
|
else
|
|
|
UTS_MACHINE := sh64
|
|
|
BITS := 64
|
|
|
LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_PAGE_OFFSET) \
|
|
|
--defsym phys_stext_shmedia=phys_stext+1 \
|
|
|
-e phys_stext_shmedia
|
|
|
-KBUILD_DEFCONFIG := cayman_defconfig
|
|
|
endif
|
|
|
|
|
|
ifdef CONFIG_CPU_LITTLE_ENDIAN
|