Date: Mon, 12 Dec 2022 13:21:33 -0800 From: Mark Millard <marklmi@yahoo.com> To: bob prohaska <fbsd@www.zefox.net> Cc: freebsd-arm@freebsd.org Subject: Re: /usr/src/Makefile.inc1 typo? Message-ID: <6E46C762-1409-4977-977A-37D01EB65784@yahoo.com> In-Reply-To: <20221212203943.GA64277@www.zefox.net> References: <20221212203943.GA64277@www.zefox.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Dec 12, 2022, at 12:39, bob prohaska <fbsd@www.zefox.net> wrote: > It looks like there might be a typo (or nomenclature change) > in armv7. >=20 > Last attempt at installkernel stopped with=20 > make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target armv7:armv7 > . . . You suffer from bad timing relative to main's [so: 14's]: Sun, 11 Dec 2022 . . . =E2=80=A2 git: 83bf6ab56829 - main - uname: switch machine to = HW_MACHINE_ARCH Piotr Kubaj=20 . . . Mon, 12 Dec 2022 . . . =E2=80=A2 git: 85dd85323614 - main - Revert "uname: switch machine = to HW_MACHINE_ARCH" Piotr Kubaj=20 =E2=80=A2 Re: git: 83bf6ab56829 - main - uname: switch machine to = HW_MACHINE_ARCH Piotr Kubaj . . . Having a system built from a source tree from between the 2 commits one ends up with a broken default native build environment with complaints about "target NAME:NAME" when the correct naming for the context has 2 distinct names, such as arm and armv7 in your context. (That need not be the only complaint.) It may be that explicitly listing TARGET=3Darm TARGET_ARCH=3Darmv7 on either the make command line(s) or in the environment(s) might allow a valid build from the messed up context. (But such is untested.) I've no clue if a full rebuild-from-scratch might be needed. If it works, you would likely need to be explicit, even for installkernel and installworld, not just for building. The build(s) should be based on source that does not contain the 83bf6ab56829 change. =3D=3D=3D Mark Millard marklmi at yahoo.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E46C762-1409-4977-977A-37D01EB65784>