[PATCH 02/27] scripts: Change -k and -o options

Simon Glass sjg at chromium.org
Wed May 28 10:24:28 CEST 2025


These have a different meaning in build-qemu, so capitalise these
options to avoid confusion.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 scripts/build-efi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/build-efi b/scripts/build-efi
index 2f4b916c49b..443a5ca4908 100755
--- a/scripts/build-efi
+++ b/scripts/build-efi
@@ -40,9 +40,9 @@ def parse_args():
                         help='Run on ARM architecture')
     parser.add_argument('-B', '--no-build', action='store_true',
                         help="Don't build (an existing build must be present")
-    parser.add_argument('-k', '--kernel', action='store_true',
+    parser.add_argument('-K', '--kernel', action='store_true',
                         help='Add a kernel')
-    parser.add_argument('-o', '--old', action='store_true',
+    parser.add_argument('-O', '--old', action='store_true',
                         help='Use old EFI app build (before 32/64 split)')
     parser.add_argument('-p', '--payload', action='store_true',
                         help='Package up the payload')
-- 
2.43.0



More information about the U-Boot mailing list