diff options
author | Tom Rini <trini@konsulko.com> | 2025-05-27 07:43:04 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2025-05-27 07:43:04 -0600 |
commit | 6015a24a5a2647ab044333ed8e2462f90f855e36 (patch) | |
tree | 53fe80bee534a17f6c40e697cc112287a0b4b3c5 /tools/patman/project.py | |
parent | 39b815d02d7ce6af32bcf023d20243c404b75a84 (diff) | |
parent | ec2482a24ac3a1d0beadae80bcb28c8d89b4c1ab (diff) |
Merge tag 'dm-next-27may25' of git://git.denx.de/u-boot-dm into next
Sync up Python tools from my tree
- minor binman tweaks
- terminal improvements in u_boot_pylib
- patman move to asyncio
- patman support for new 'series' subcommand
Diffstat (limited to 'tools/patman/project.py')
-rw-r--r-- | tools/patman/project.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/patman/project.py b/tools/patman/project.py index d6143a67066..e633401e9d6 100644 --- a/tools/patman/project.py +++ b/tools/patman/project.py @@ -18,7 +18,8 @@ def detect_project(): """ top_level = gitutil.get_top_level() - if os.path.exists(os.path.join(top_level, "include", "u-boot")): + if (not top_level or + os.path.exists(os.path.join(top_level, "include", "u-boot"))): return "u-boot" elif os.path.exists(os.path.join(top_level, "kernel")): return "linux" |