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, Jan 26, 7:39 AM
Unknown Object (File)
Sat, Jan 25, 1:22 AM
Unknown Object (File)
Tue, Jan 14, 11:21 AM
Unknown Object (File)
Dec 26 2024, 7:17 PM
Unknown Object (File)
Dec 1 2024, 10:04 PM
Unknown Object (File)
Dec 1 2024, 10:03 PM
Unknown Object (File)
Dec 1 2024, 7:04 PM
Unknown Object (File)
Dec 1 2024, 6:59 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 Passed
Unit
No Test Coverage
Build Status
Buildable 50983
Build 47874: arc lint + arc unit

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
155

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