Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 May 2014 12:09:49 +0200
From:      Matthias Meyser <meyser@xenet.de>
To:        Ian Lepore <ian@FreeBSD.org>
Cc:        freebsd-arm@FreeBSD.org
Subject:   Re: cross compiling & Native installing
Message-ID:  <536F4C6D.8080907@xenet.de>
In-Reply-To: <1399722475.22079.382.camel@revolution.hippie.lan>
References:  <536DDB0B.7040502@xenet.de> <1399722475.22079.382.camel@revolution.hippie.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 10.05.2014 13:47, schrieb Ian Lepore:
> On Sat, 2014-05-10 at 09:53 +0200, Matthias Meyser wrote:
>> Hi
>>
>> I xcompile armv6 World and kernel (BEAGLEBONE) on an amd64 machine with
>>
>> make buildworld TARGET=arm TARGET_ARCH=armv6
>> make buildkernel TARGET=arm TARGET_ARCH=armv6 KERNCONF=BEAGLEBONE
>>
[...]
>>
>>
>> Any hints are welcome.
>>
>> uname Buildsystem:
>> FreeBSD slx00.lan.xenet.de 10.0-STABLE FreeBSD 10.0-STABLE #1 r262074: Tue
>> Feb 18 01:00:39 CET 2014
>> root@slx00.lan.xenet.de:/usr/obj/usr/src/sys/SLX00  amd64
>>
>> uname Beaglebone:
>> FreeBSD bbb.lan.xenet.de 11.0-CURRENT FreeBSD 11.0-CURRENT #0: Thu May  8
>> 10:16:09 CEST 2014     root@bbb.lan.xenet.de:/usr/obj/usr/src/sys/BEAGLEBONE
>>    arm
>>
>> /usr/src: latest head
>>
>>
>
> I think it's the CROSS_BUILD_TESTING that's causing the problem.  It's
> trying to run the x86 cross-tools during the native install.  Try
> replacing that with MAKEOBJDIRPREFIX=/usr/obj/arm.armv6.

make installkernel KERNCONF=BBB MAKEOBJDIRPREFIX=/usr/obj/arm.armv6

givs the exact same error.

> I'm not sure
> that'll work, I've never tried to do what you're doing... I do the
> install on the same machine as the cross-builds, using
>
>   make installworld TARGET_ARCH=armv6 DESTDIR=/path/to/nfsroot
>
> and likewise for installkernel but with KERNCONF added.

I will use that as a workaround.

-- Matthias



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?536F4C6D.8080907>