scripts: gen_app_partitions: only parse known arguments
Since compiler options are unconditionally passed to the script, we may pass arguments that are not recognized. So we change to only parse known arguments. Currently, it only cares about -l, which is related to linking libraries. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
db3c344af9
commit
1df55181be
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ def parse_args():
|
|||
parser.add_argument("--pinpartitions", action="store", required=False, default="",
|
||||
help="Comma separated names of partitions to be pinned in physical memory")
|
||||
|
||||
args = parser.parse_args()
|
||||
args, _ = parser.parse_known_args()
|
||||
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue