From 0b1187a1db76ede9c1bcb6663c3aef63563e07bb Mon Sep 17 00:00:00 2001 From: Allen Xu Date: Mon, 20 Oct 2025 10:00:11 +0800 Subject: [PATCH 1/2] always append "-force" for "update" data generation Signed-off-by: Allen Xu --- nds/nds_gen_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nds/nds_gen_data.py b/nds/nds_gen_data.py index 72611ede..d1f9b875 100644 --- a/nds/nds_gen_data.py +++ b/nds/nds_gen_data.py @@ -214,7 +214,7 @@ def generate_data_local(args, range_start, range_end, tool_path): "-parallel", args.parallel, "-child", str(i), "-verbose", "Y"] - if args.overwrite_output: + if args.overwrite_output or args.update: dsdgen_args += ["-force", "Y"] if args.update: dsdgen_args += ["-update", args.update] From 1cbe52fa3e4b9c46cb701a71cebadbc13f8cbd69 Mon Sep 17 00:00:00 2001 From: Allen Xu Date: Mon, 20 Oct 2025 10:29:22 +0800 Subject: [PATCH 2/2] update license Signed-off-by: Allen Xu --- nds/nds_gen_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nds/nds_gen_data.py b/nds/nds_gen_data.py index d1f9b875..d1117ee9 100644 --- a/nds/nds_gen_data.py +++ b/nds/nds_gen_data.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -# SPDX-FileCopyrightText: Copyright (c) 2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. +# SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # # Licensed under the Apache License, Version 2.0 (the "License");