makeman.lua: catch up to REQUIRED_OPTIONS change
161f8edc65("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 in4ed20e0236("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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user