summaryrefslogtreecommitdiff
path: root/tools/buildman/cmdline.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-12 08:18:59 -0500
committerTom Rini <trini@konsulko.com>2019-12-12 08:18:59 -0500
commit553cb06887825314e74a9bdac337467c77d1db88 (patch)
tree0c73f29d194d17a52ed7a4480f68b13f162147ca /tools/buildman/cmdline.py
parentf39abbbc531eb7b246d83dbb765e65afcc0989f8 (diff)
parentb4f98b3b16ec513f7fa6b97ec49792a5e99ec165 (diff)
Merge tag 'dm-next-13dec19' of https://gitlab.denx.de/u-boot/custodians/u-boot-dm into next
buildman improvements including toolchain environment feature sandbox unicode support in serial
Diffstat (limited to 'tools/buildman/cmdline.py')
-rw-r--r--tools/buildman/cmdline.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/buildman/cmdline.py b/tools/buildman/cmdline.py
index 832a5145d28..b41209373dd 100644
--- a/tools/buildman/cmdline.py
+++ b/tools/buildman/cmdline.py
@@ -13,6 +13,10 @@ def ParseArgs():
args: command lin arguments
"""
parser = OptionParser()
+ parser.add_option('-a', '--print-arch', action='store_true',
+ help='Print the architecture for a board (ARCH=)')
+ parser.add_option('-A', '--print-prefix', action='store_true',
+ help='Print the tool-chain prefix for a board (CROSS_COMPILE=)')
parser.add_option('-b', '--branch', type='string',
help='Branch name to build, or range of commits to build')
parser.add_option('-B', '--bloat', dest='show_bloat',