Re: git: 22ca6db50f4e - main - config.mk: Add MK_VIMAGE knob

From: Bjoern A. Zeeb <bzeeb-lists_at_lists.zabbadoz.net>
Date: Fri, 12 Apr 2024 19:29:40 UTC
On Tue, 9 Apr 2024, Stephen J. Kiernan wrote:

> The branch main has been updated by stevek:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=22ca6db50f4e6bd75a141f57cf953d8de6531a06
>
> commit 22ca6db50f4e6bd75a141f57cf953d8de6531a06
> Author:     Stephen J. Kiernan <stevek@FreeBSD.org>
> AuthorDate: 2024-04-09 17:04:24 +0000
> Commit:     Stephen J. Kiernan <stevek@FreeBSD.org>
> CommitDate: 2024-04-09 17:05:56 +0000
>
>    config.mk: Add MK_VIMAGE knob
>
>    Default to VIMAGE as yes.
>    Add VIMAGE to __DEFAULT_DEPENDENT_OPTIONS (to define VIMAGE_SUPPORT)
>
>    Only output VIMAGE to opt_global.h when VIMAGE support is wanted.
>
>    Obtained from:  Juniper Networks, Inc.
>    Differential Revision:  https://reviews.freebsd.org/D39636
> ---
> share/mk/src.opts.mk  | 2 ++
> sys/conf/config.mk    | 2 ++
> sys/conf/kern.opts.mk | 4 +++-
> 3 files changed, 7 insertions(+), 1 deletion(-)

I now see:

cat: /usr/obj/usr/src/src.git/amd64.amd64/sys/FOO/opt_vimage.h: No such file or directory

during builds.  I made sure I cleaned the sys/FOO obj tree.  Any ideas?

-- 
Bjoern A. Zeeb                                                     r15:7