Page MenuHomeFreeBSD

config.mk: Add MK_VIMAGE knob
ClosedPublic

Authored by stevek on Apr 18 2023, 3:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 24, 7:54 AM
Unknown Object (File)
Oct 4 2024, 10:07 AM
Unknown Object (File)
Oct 4 2024, 5:20 AM
Unknown Object (File)
Oct 3 2024, 8:06 PM
Unknown Object (File)
Oct 1 2024, 3:19 PM
Unknown Object (File)
Oct 1 2024, 1:38 PM
Unknown Object (File)
Aug 4 2024, 8:05 PM
Unknown Object (File)
Jul 18 2024, 5:30 PM

Details

Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Apr 9 2024, 5:08 PM
This revision was automatically updated to reflect the committed changes.

What is the value of MK_VIMAGE_SUPPORT over MK_VIMAGE? We now have an unused MK_VIMAGE. What will it control?

This commit is missing an addition of tools/build/options/WITHOUT_VIMAGE and WITHOUT_VIMAGE_SUPPORT and breaks GitHub CI because makeman spots the missing files.

sys/conf/kern.opts.mk
187

This can't possibly work. There's no opt_vimage.h, so this just throws errors.

What is the value of MK_VIMAGE_SUPPORT over MK_VIMAGE? We now have an unused MK_VIMAGE. What will it control?

This commit is missing an addition of tools/build/options/WITHOUT_VIMAGE and WITHOUT_VIMAGE_SUPPORT and breaks GitHub CI because makeman spots the missing files.

Good point. I think just having a MK_VIMAGE would be sufficient to control the VIMAGE define in the opt_global.h