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)
Sun, Dec 1, 10:04 PM
Unknown Object (File)
Sun, Dec 1, 10:03 PM
Unknown Object (File)
Sun, Dec 1, 7:04 PM
Unknown Object (File)
Sun, Dec 1, 6:59 PM
Unknown Object (File)
Nov 12 2024, 11:57 AM
Unknown Object (File)
Oct 24 2024, 7:54 AM
Unknown Object (File)
Oct 4 2024, 10:07 AM
Unknown Object (File)
Oct 4 2024, 5:20 AM

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