Mk/Uses/meson.mk: Add MESON_{TRUE,FALSE,ENABLED,DISABLED} support

PR:		290584
Approved by:	arrowd, makc, vishwin
This commit is contained in:
Po-Chuan Hsieh
2025-11-05 18:18:37 +08:00
parent 88dd57e54b
commit 5cf2c031f5
+8
View File
@@ -79,6 +79,14 @@ CONFIGURE_ARGS+= --buildtype release \
--strip
. endif
. for _bool in true false enabled disabled
. if defined(MESON_${_bool:tu})
. for _meson_arg in ${MESON_${_bool:tu}}
MESON_ARGS+= -D${_meson_arg}=${_bool}
. endfor
. endif
. endfor
HAS_CONFIGURE= yes
. if !empty(meson_ARGS:Mmuon)
CONFIGURE_CMD= muon