modbuild: add option to pass use-flags

This commit is contained in:
2021-04-19 15:16:25 +02:00
parent b2c51afe39
commit 85894a6f22
+7
View File
@@ -229,6 +229,13 @@ parse_args() {
--system=* )
opt_system="${1/*=}"
;;
--use-flags )
USE_FLAGS="y:$2:"
shift
;;
--use-flags=* )
USE_FLAGS=":${1/--use-flags=}:"
;;
--with )
opt_with_modules+=( "$2" )
shift