Date: Thu, 20 Oct 2016 15:47:37 -0600 From: Warner Losh <imp@bsdimp.com> To: Michael Tuexen <tuexen@freebsd.org> Cc: "freebsd-arm@freebsd.org" <arm@freebsd.org> Subject: Re: Building the kernel the old way fails Message-ID: <CANCZdfqK0s6EFtTx=TiqghqeFm0R-5YqduVaG%2B_87BYDeASk1w@mail.gmail.com> In-Reply-To: <1AAEF01D-2542-4E81-A956-7C7184382E44@freebsd.org> References: <41AB8519-CF94-4C3A-9EA3-C1600BF8B396@freebsd.org> <CANCZdfo0qD=K6ooV7e%2B-edaeUzL5scDmedeWMxrTa6yz67SkrA@mail.gmail.com> <1AAEF01D-2542-4E81-A956-7C7184382E44@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 20, 2016 at 2:26 PM, Michael Tuexen <tuexen@freebsd.org> wrote: >> On 20 Oct 2016, at 22:08, Warner Losh <imp@bsdimp.com> wrote: >> >> On Thu, Oct 20, 2016 at 2:06 PM, Michael Tuexen <tuexen@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfqK0s6EFtTx=TiqghqeFm0R-5YqduVaG%2B_87BYDeASk1w>