Gentoo Archives: gentoo-embedded

From: Ned Ludd <solar@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] gentoo cross-emerging for sh4 architecture
Date: Mon, 20 Feb 2006 04:46:59
Message-Id: 1140410772.4308.39.camel@localhost
In Reply to: [gentoo-embedded] gentoo cross-emerging for sh4 architecture by Jakub Ladman
emerge does not read make.conf from $ROOT.

You need to wrapper the command.
try a script that does something like.
but replace the mips arch with sh for your case.

On Sun, 2006-02-19 at 19:07 +0100, Jakub Ladman wrote:
> Hello > I'm trying to make gentoo system on our development board with renesas sh4 > CPU. > I allready have created the cross-compiler toolchain using crossdev -t > sh4-pc-linux-uclibc > I have to unpack stage3-sh4-uclibc-2006.0.tar.bz2 from vapiers archive to > target directory /home/ladmanj/sh4system. > But if I try to run ROOT="/home/ladmanj/sh4system" emerge minicom (for an > example), it uses not the targets make.conf file > (/home/ladmanj/sh4system/etc/make.conf) but the host systems one. > Please tell me the correct way to cross-emerge ebuilds for my embedded system, > or give me links to similar project. > Thank you. > Best regards > Jakub Ladman > > PS: I also tryed > ROOT="/home/ladmanj/sh4system" CHOST="sh4-gentoo-linux-uclibc" emerge minicom > everything looks fine but the output in target directory is i686 executable. > Grrrr > I do not know why.
-- Ned Ludd <solar@g.o> Gentoo Linux -- gentoo-embedded@g.o mailing list


Subject Author
Re: [gentoo-embedded] gentoo cross-emerging for sh4 architecture Jakub Ladman <ladmanj@×××××.cz>