readme-autogen: allow to add driver w/o fbc patch

This commit is contained in:
Vladislav Yarmak 2020-11-24 23:33:12 +02:00
parent 62e6db9ebe
commit 2e596af97a

View File

@ -68,6 +68,10 @@ def parse_args():
parser.add_argument("--skip-url-check", parser.add_argument("--skip-url-check",
action="store_true", action="store_true",
help="skip driver URL check") help="skip driver URL check")
parser.add_argument("--no-fbc",
dest="fbc",
action="store_false",
help="add driver w/o NvFBC patch")
parser.add_argument("version", parser.add_argument("version",
help="driver version") help="driver version")
args = parser.parse_args() args = parser.parse_args()
@ -171,7 +175,7 @@ def main():
new_driver = { new_driver = {
"version": args.version, "version": args.version,
"nvenc_patch": True, "nvenc_patch": True,
"nvfbc_patch": True, "nvfbc_patch": args.fbc,
} }
if url: if url:
new_driver["driver_url"] = url new_driver["driver_url"] = url