From 8bbba9f681ecccc6f6adcdb820c28df71f028e37 Mon Sep 17 00:00:00 2001 From: Kyle Evans Date: Tue, 21 Apr 2026 21:29:07 -0500 Subject: [PATCH] makeman.lua: catch up to REQUIRED_OPTIONS change 161f8edc651c7 ("bsd.mkopt.mk: Prepare a list of all build options") restructured things and now we should simply strip the leading double underbar. This fixes the oddity noticed in 4ed20e0236dd0 ("kshim/usb: Add build option."), where WITH_CASPER made a surprise appearance. This is a part of D56558, but not the meat of the change. Reviewed by: emaste, imp --- tools/build/options/makeman.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/build/options/makeman.lua b/tools/build/options/makeman.lua index 7ce919f7a8d..af641ff6d63 100644 --- a/tools/build/options/makeman.lua +++ b/tools/build/options/makeman.lua @@ -309,7 +309,7 @@ end local function required_options() local output = run_make({"-f", "share/mk/src.opts.mk", "-V", - "__REQUIRED_OPTIONS"}) + "REQUIRED_OPTIONS"}) local options = {} for opt in output:gmatch("[^%s]+") do