From: Christian Melki <christian.melki@t2data.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] platforms/u-boot.in: Add U-boot efi target images to copy to image dir.
Date: Wed, 26 May 2021 12:27:56 +0200 [thread overview]
Message-ID: <20210526102756.22358-1-christian.melki@t2data.com> (raw)
Signed-off-by: Christian Melki <christian.melki@t2data.com>
---
platforms/u-boot.in | 12 ++++++++++++
rules/u-boot.make | 6 ++++++
2 files changed, 18 insertions(+)
diff --git a/platforms/u-boot.in b/platforms/u-boot.in
index 491faed60..4ddf3b3fb 100644
--- a/platforms/u-boot.in
+++ b/platforms/u-boot.in
@@ -171,6 +171,18 @@ config U_BOOT_INSTALL_ELF
help
Installing the U-Boot ELF binary into platform image directory.
+config U_BOOT_INSTALL_EFI_APPLICATION
+ prompt "install u-boot-app.efi"
+ bool
+ help
+ Installing the U-Boot EFI application into platform image directory.
+
+config U_BOOT_INSTALL_EFI_PAYLOAD
+ prompt "install u-boot-payload.efi"
+ bool
+ help
+ Installing the U-Boot EFI payload into platform image directory.
+
config U_BOOT_INSTALL_SPL
prompt "install SPL"
bool
diff --git a/rules/u-boot.make b/rules/u-boot.make
index 06468654d..38c32bf27 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -145,6 +145,12 @@ endif
ifdef PTXCONF_U_BOOT_INSTALL_ELF
@install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot $(IMAGEDIR)/u-boot.elf
endif
+ifdef PTXCONF_U_BOOT_INSTALL_EFI_APPLICATION
+ @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-app.efi $(IMAGEDIR)/u-boot-app.efi
+endif
+ifdef PTXCONF_U_BOOT_INSTALL_EFI_PAYLOAD
+ @install -v -D -m644 $(U_BOOT_BUILD_DIR)/u-boot-payload.efi $(IMAGEDIR)/u-boot-payload.efi
+endif
ifdef PTXCONF_U_BOOT_INSTALL_SPL
@install -v -D -m644 $(U_BOOT_BUILD_DIR)/SPL $(IMAGEDIR)/SPL
endif
--
2.31.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
next reply other threads:[~2021-05-26 10:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-26 10:27 Christian Melki [this message]
2021-05-28 7:01 ` [ptxdist] [APPLIED] " Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210526102756.22358-1-christian.melki@t2data.com \
--to=christian.melki@t2data.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox