summaryrefslogtreecommitdiff
path: root/meta-unit-graphics/recipes-bsp
diff options
context:
space:
mode:
Diffstat (limited to 'meta-unit-graphics/recipes-bsp')
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gzbin0 -> 27081 bytes
-rw-r--r--meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb21
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz
new file mode 100644
index 0000000..d603f12
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot-splash/files/yocto_project_logo_white_800x480_24bpp.bmp.gz
Binary files differ
diff --git a/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb b/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb
new file mode 100644
index 0000000..7e5b318
--- /dev/null
+++ b/meta-unit-graphics/recipes-bsp/u-boot-splash/u-boot-splash.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Deploy u-boot splash image"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${UNIT_GRAPHICS_LAYERDIR}/LICENSE;md5=a77c12e0c0e8a14cebb1494195720ccc"
+
+inherit deploy
+
+SRC_URI = "\
+ file://yocto_project_logo_white_800x480_24bpp.bmp.gz;unpack=0 \
+"
+
+S = "${UNPACKDIR}"
+
+do_deploy() {
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0644 ${S}/yocto_project_logo_white_800x480_24bpp.bmp.gz ${DEPLOY_DIR_IMAGE}/yocto_project_logo_white_800x480_24bpp.bmp.gz
+}
+
+addtask deploy before do_build after do_compile
+
+# The recipe just deploys a file it doesn't install anything to rootfs
+ALLOW_EMPTY:${PN} = "1"