Commit 2e596af9 authored by Vladislav Yarmak's avatar Vladislav Yarmak

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

parent 62e6db9e
...@@ -68,6 +68,10 @@ def parse_args(): ...@@ -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(): ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment