Building the kernel the old way fails
Warner Losh
imp at bsdimp.com
Thu Oct 20 21:47:40 UTC 2016
On Thu, Oct 20, 2016 at 2:26 PM, Michael Tuexen <tuexen at freebsd.org> wrote:
>> On 20 Oct 2016, at 22:08, Warner Losh <imp at bsdimp.com> wrote:
>>
>> On Thu, Oct 20, 2016 at 2:06 PM, Michael Tuexen <tuexen at freebsd.org> wrote:
>>> Dear all,
>>>
>>> when trying to build a head kernel on a RPI2 the old way fails:
>>>> pwd
>>> /usr/home/tuexen/head/sys/arm/compile/GENERIC
>>>> make
>>> make: "/usr/home/tuexen/head/sys/arm/compile/GENERIC/Makefile" line 84: Malformed conditional (${TARGET_ARCH} != "armv6" && defined(KERNPHYSADDR))
>>> make: Fatal errors encountered -- cannot continue
>>> make: stopped in /usr/home/tuexen/head/sys/arm/compile/GENERIC
>>>
>>> I guess TARGET_ARCH is not set...
>>
>> You can set it to armv6 to work around it.
> I did, but
>>
>> This test should be MACHINE_ARCH. LEmme fix that.
> prefer a fix... Thanks a lot!
Already committed :)
Warner
More information about the freebsd-arm
mailing list