diff options
author | Christian Melki <christian.melki@t2data.com> | 2021-05-26 12:27:56 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2021-05-27 08:30:52 +0200 |
commit | a29533b3fd22bc5bbbdbdf1c8c79f7609e3f2703 (patch) | |
tree | 0d552788ac77bb909cc556f74364efdca246f9da | |
parent | e776bd4bed810a0eaa5e6f93d8a94d39835c87ce (diff) | |
download | ptxdist-a29533b3fd22bc5bbbdbdf1c8c79f7609e3f2703.tar.gz ptxdist-a29533b3fd22bc5bbbdbdf1c8c79f7609e3f2703.tar.xz |
platforms/u-boot.in: Add U-boot efi target images to copy to image dir.
Signed-off-by: Christian Melki <christian.melki@t2data.com>
Message-Id: <20210526102756.22358-1-christian.melki@t2data.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | platforms/u-boot.in | 12 | ||||
-rw-r--r-- | rules/u-boot.make | 6 |
2 files changed, 18 insertions, 0 deletions
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 |