how to build root filesystem for ixp425

Stavros Markou stma at antcor.com
Mon Aug 18 14:13:00 UTC 2008


Hi,

The option is well set because i am echoing it at the time of the build
what i don't understand is the check about BUILD_ARCH and TARGET_ARCH or
for that matter MACHINE_ARCH.
I think, and let me know if i am wrong, that BUILD_ARCH must be whatever
is the ARCH of the Host system. If i am right on this then why there is
this check inside Makefile.inc1 :

if ${MACHINE_ARCH) != ${BUILD_ARCH}
.error To cross-build, set TARGET_ARCH.
.endif

In my case BUILD_ARCH is i386 and as it is supposed to be (?)
TARGET_ARCH=arm.

Best Regards,

Stavros.

On Mon, 2008-08-18 at 16:05 +0200, Gary Jennejohn wrote:

> On Mon, 18 Aug 2008 15:54:03 +0300
> Stavros Markou <stma at antcor.com> wrote:
> 
> > You are using this script with which release of FreeBSD ? In order to
> > use this script do you set as tools the cross tools or native i386 (or
> > any other host arch) ?
> > 
> > I am using currently 7.0 release p2 and i cannot pass the error with
> > cross build (keeps telling me to set TARGET_ARCH but it is already set
> > by me as a command-line option of the make)
> > 
> 
> Then the option probably isn't being passed to Makefiles in sub-
> directories, i.e. not set in make's environment.
> 
> Set it in the the global environment, that way it should always work.
> 
> ---
> Gary Jennejohn

Stavros Markou 
Senior Software Engineer
ANTCOR S.A.
Email: mailto:stma at antcor.com
Phone: +30 210 52 22 290 
Fax: +30 210 52 22 254 
Address: 52 Ag. Konstantinou, Athens 10437, GREECE



More information about the freebsd-arm mailing list