Re: /usr/src/Makefile.inc1 typo?

From: Herbert J. Skuhra <herbert_at_gojira.at>
Date: Mon, 12 Dec 2022 21:20:57 UTC
On Mon, 12 Dec 2022 21:39:43 +0100, bob prohaska wrote:
> 
> It looks like there might be a typo (or nomenclature change)
> in armv7.
> 
> Last attempt at installkernel stopped with 
> make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target armv7:armv7
> but when I again tried to run buildworld it stopped with 
> 
> root@www:/usr/src # more *.log
> --- buildworld ---
> make[1]: "/usr/src/Makefile.inc1" line 163: Unknown target armv7:armv7.
> 
> make[1]: stopped in /usr/src
> .ERROR_TARGET=''
> .ERROR_META_FILE=''
> .MAKE.LEVEL='1'
> MAKEFILE=''
> .MAKE.MODE='meta missing-filemon=yes missing-meta=yes silent=yes verbose'
> _ERROR_CMD='.PHONY'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src/armv7.armv7'
> .TARGETS='buildworld'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='armv7'
> MACHINE_ARCH='armv7'
> MAKEOBJDIRPREFIX=''
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20220726'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src/armv7.armv7'
> .MAKE.MAKEFILES='/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/auto.obj.mk /usr/src/share/mk/bsd.suffixes.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src/share/mk/src.sys.mk /etc/src.conf /usr/src/Makefile.inc1 /usr/src/share/mk/src.tools.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/bsd.endian.mk /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk'
> .PATH='. /usr/src'
> 
> make: stopped in /usr/src

This is caused by

https://cgit.freebsd.org/src/commit/?id=83bf6ab568293e325f437342cdb87a626353e27c

Already reverted in:

https://cgit.freebsd.org/src/commit/?id=85dd853236149dd029d5c065efce0e802f9c1e9a

--
Herbert