Hello Ralf, On Tue, 4 Apr 2006 11:43:36 +0100 Ralf Baechle <ralf@xxxxxxxxxxxxxx> wrote: > On Tue, Apr 04, 2006 at 10:22:21AM +0900, Yoichi Yuasa wrote: > > > I got the following error, when I built the kernel using current git. > > > > Yoichi > > > > $ make tb0287_defconfig > > . > > . > > . > > gcc: 0: No such file or directory > > gcc: unrecognized option `-G' > > gcc: unrecognized option `-EL' > > cc1: error: invalid option `no-abicalls' > > It seems to happen because no SYS_HAS_CPU_xxx is set for this config, > so no CONFIG_CPU_VR41XX option will be choosen either, similar for a > bunch of other settings. Below patch fixes make tb0287_defconfig but > you may want to add some further settings such > > select SYS_SUPPORTS_32BIT_KERNEL if EXPERIMENTAL > > Just let me know, ROCKHOPPER, TB0226 and TB0287 are only base board(CPU is not included in these boards). These configs don't need "select SYS_HAS_CPU_VR41XX" and "select SYS_SUPPORTS_32BIT_KERNEL". Thanks, Yoichi Signed-off-by: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Signed-off-by: Yoichi Yuasa <yoichi_yuasa@xxxxxxxxxxxxxx> diff -pruN -X dontdiff mips-orig/arch/mips/vr41xx/Kconfig mips/arch/mips/vr41xx/Kconfig --- mips-orig/arch/mips/vr41xx/Kconfig 2006-04-04 20:27:53.335428500 +0900 +++ mips/arch/mips/vr41xx/Kconfig 2006-04-04 20:37:51.396805000 +0900 @@ -4,6 +4,8 @@ config CASIO_E55 select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config IBM_WORKPAD @@ -12,6 +14,8 @@ config IBM_WORKPAD select DMA_NONCOHERENT select IRQ_CPU select ISA + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config NEC_CMBVR4133 @@ -21,6 +25,9 @@ config NEC_CMBVR4133 select DMA_NONCOHERENT select IRQ_CPU select HW_HAS_PCI + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL + select SYS_SUPPORTS_LITTLE_ENDIAN config ROCKHOPPER bool "Support for Rockhopper baseboard" @@ -34,6 +41,8 @@ config TANBAC_TB022X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN help The TANBAC VR4131 multichip module(TB0225) and @@ -65,6 +74,8 @@ config VICTOR_MPC30X select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config ZAO_CAPCELLA @@ -73,6 +84,8 @@ config ZAO_CAPCELLA select DMA_NONCOHERENT select HW_HAS_PCI select IRQ_CPU + select SYS_HAS_CPU_VR41XX + select SYS_SUPPORTS_32BIT_KERNEL select SYS_SUPPORTS_LITTLE_ENDIAN config PCI_VR41XX