summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Jorns <ejo@pengutronix.de>2017-10-12 09:22:04 +0200
committerEnrico Jorns <ejo@pengutronix.de>2017-10-13 23:52:46 +0200
commit9287b8f339b5cdb0ded9e83edc7ebe99204c2aad (patch)
treecf55b52224c54482c989d602dd85ccaa08dda979
parent6a37319b4396ea3f9b54aad5fefa65a0e61dd651 (diff)
downloadmeta-ptx-9287b8f339b5cdb0ded9e83edc7ebe99204c2aad.tar.gz
meta-ptx-9287b8f339b5cdb0ded9e83edc7ebe99204c2aad.tar.xz
barebox: support deploying EFI image
Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
-rw-r--r--recipes-bsp/barebox/barebox.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/recipes-bsp/barebox/barebox.inc b/recipes-bsp/barebox/barebox.inc
index e717fe3..34d12a5 100644
--- a/recipes-bsp/barebox/barebox.inc
+++ b/recipes-bsp/barebox/barebox.inc
@@ -88,6 +88,9 @@ do_deploy () {
if [ -e ${S}/barebox-flash-image ]; then
install -m 644 -t ${DEPLOYDIR}/ ${S}/barebox-flash-image
fi
+ if [ -e ${S}/barebox.efi ]; then
+ install -m 644 -t ${DEPLOYDIR}/ ${S}/barebox.efi
+ fi
for IMAGE in ${S}/images/*.img; do
if [ -e ${IMAGE} ]; then
BAREBOX_IMG_BASENAME=$(basename ${IMAGE} .img)${BAREBOX_IMAGE_SUFFIX}