Subject: Re: cross building for 8260
To: None <port-powerpc@netbsd.org>
From: Richard Klingler <richard@klingler.ch>
List: port-powerpc
Date: 12/11/2003 00:19:57
> On Wed, Dec 10, 2003 at 11:33:13PM +0200, Richard Klingler wrote:
> > include "arch/mpc8260/conf/std.mpc8260"
> > include "arch/mpc8260/conf/crosscompile"
>
> As these are also non-standard, it might have also been useful to see
> these. But actually tracing this down a bit, I suspect that you're
> missing something like:
>
> majors.evbppc:device-major swap char 6 block 1
>
> -allen
>
Oki...nbconfig doesn't complain anymore...added own "majors.mpc8260"
like the one from "arch/evbppc/conf/majors.evbppc".
Now when doing "/usr/cross/bin/nbame" I get:
bash-2.05b# /usr/cross/bin/nbmake depend
depending the kern library objects
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 5: Malformed conditional (${TOOLCHAIN_MISSING} != "yes")
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 7: Malformed conditional (${USE_TOOLS_TOOLCHAIN} != "yes")
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 12: if-less else
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 12: Need an operator
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 14: if-less endif
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 14: Need an operator
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 18: if-less endif
nbmake: "/usr/home/klingler/vdsl/src/tools/Makefile" line 18: Need an operator
nbmake: Fatal errors encountered -- cannot continue
nbmake: "/usr/share/mk/bsd.own.mk" line 92: warning: "cd /usr/home/klingler/vdsl/src/tools && /usr/cross/bin/nbmake -V .OBJDIR" returned non-zero status
CC=/usr/cross/powerpc--netbsd/bin/gcc nbmake: stopped in /usr/home/klingler/vdsl/src/tools/tools.NetBSD-1.6.1-i386/bin/nbmkdep -a -D_LOCORE -I../../../../../../lib/libkern/arch/powerpc -I../../. -I../../../../../../arch -I../../../../../.. -nostdinc -DMAXUSERS=32 -D_KERNEL -Dmpc8260 -D__NetBSD__ -traditional-cpp ../../../../../../lib/libkern/arch/powerpc/ffs.S ../../../../../../lib/libkern/arch/powerpc/memset.S ../../../../../../lib/libkern/arch/powerpc/strlen.S
nbmake:: not found
*** Error code 127
Stop.
nbmake: stopped in /usr/home/klingler/vdsl/src/sys/arch/mpc8260/compile/NEP/lib/kern
*** Error code 1
Stop.
nbmake: stopped in /usr/home/klingler/vdsl/src/sys/arch/mpc8260/compile/NEP
Before I compiled the tollchain to be installed under "/usr/cross" with
"build.sh -t mpc8260 -T /usr/cross tools"...
Wonder why it i still wanting to call tools inside "src/tools/tools.NetBSD-1.6.1-i386"
rick