Date: Tue, 15 Jul 2008 17:26:15 -0500 From: Erik Moe <ehmoeok@gmail.com> To: FreeBSD Mips <freebsd-mips@FreeBSD.org> Subject: Building FreeBSD MIPS Message-ID: <487D2407.8070001@gmail.com>
next in thread | raw e-mail | index | archive | help
Question, is current the FreeBSD MIPS code in a state where one could build a kernel? I've got the latest code from svn://svn.freebsd.org/base/head. I'm trying to build the kernel-toolchain with the following script: #!/bin/sh SRCROOT=/usr/home/emoe/fbsd-mips/current-svn/head export MAKEOBJDIRPREFIX=/usr/home/emoe/fbsd-mips/build-current-svn TARGET_ARCH=mips TARGET=mips TARGET_CPUTYPE=mips32 cd ${SRCROOT} make TARGET_ARCH=mips TARGET=mips TARGET_CPUTYPE=mips32 kernel-toolchain #make TARGET_ARCH=mips NO_MODULES=yes MIPS_LITTLE_ENDIAN=yes \ # buildkernel KERNCONF=MALTA I getting the following error: make: don't know how to make /usr/home/emoe/fbsd-mips/current-svn/head/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config//.c. Stop I believe that this is because the GCC_CPU variable is not being set in gnu/usr.bin/cc/Makefile.tgt TARGET_ARCH?= ${MACHINE_ARCH} .if ${TARGET_ARCH} == "arm" GCC_CPU= arm .elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" GCC_CPU= i386 .elif ${TARGET_ARCH} == "ia64" TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD GCC_CPU= ia64 .elif ${TARGET_ARCH} == "powerpc" GCC_CPU= rs6000 .elif ${TARGET_ARCH} == "sparc64" GCC_CPU= sparc TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc .endif So my assumption is that all the pieces to build the MIPS tool-chain aren't there. Erik Moe ehmoeok@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?487D2407.8070001>