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
1 emerge does not read make.conf from $ROOT.
2
3 You need to wrapper the command.
4 try a script that does something like.
5 http://dev.gentoo.org/~spb/tmp/memerge
6 but replace the mips arch with sh for your case.
7
8
9
10 On Sun, 2006-02-19 at 19:07 +0100, Jakub Ladman wrote:
11 > Hello
12 > I'm trying to make gentoo system on our development board with renesas sh4
13 > CPU.
14 > I allready have created the cross-compiler toolchain using crossdev -t
15 > sh4-pc-linux-uclibc
16 > I have to unpack stage3-sh4-uclibc-2006.0.tar.bz2 from vapiers archive to
17 > target directory /home/ladmanj/sh4system.
18 > But if I try to run ROOT="/home/ladmanj/sh4system" emerge minicom (for an
19 > example), it uses not the targets make.conf file
20 > (/home/ladmanj/sh4system/etc/make.conf) but the host systems one.
21 > Please tell me the correct way to cross-emerge ebuilds for my embedded system,
22 > or give me links to similar project.
23 > Thank you.
24 > Best regards
25 > Jakub Ladman
26 >
27 > PS: I also tryed
28 > ROOT="/home/ladmanj/sh4system" CHOST="sh4-gentoo-linux-uclibc" emerge minicom
29 > everything looks fine but the output in target directory is i686 executable.
30 > Grrrr
31 > I do not know why.
32 --
33 Ned Ludd <solar@g.o>
34 Gentoo Linux
35
36 --
37 gentoo-embedded@g.o mailing list

Replies

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