From 7cf3b1535c0d0087eaea34833ab6ef24f373c8cb Mon Sep 17 00:00:00 2001 From: Ayoub Zaki Date: Wed, 20 Nov 2024 12:44:25 +0100 Subject: bmap-writer: add initial recipe this is an utility designed to efficiently write disk images to storage devices using block mapping (BMAP). It serves as a lightweight alternative to the Yocto BMAP tool. it is C++ based does not require Python and focuses solely on writing an image. Signed-off-by: Ayoub Zaki Signed-off-by: Khem Raj --- .../recipes-support/bmap-writer/bmap-writer_git.bb | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb diff --git a/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb b/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb new file mode 100644 index 0000000000..f25ed70111 --- /dev/null +++ b/meta-oe/recipes-support/bmap-writer/bmap-writer_git.bb @@ -0,0 +1,22 @@ +SUMMARY = "bmaptool alternative written in C++" +DESCRIPTION = "bmap-writer is a command-line utility designed to efficiently write disk images \ +to storage devices using block mapping (BMAP). It serves as \ +a lightweight alternative to the Yocto BMAP tool, \ +bmap-writer is C++ based does not require Python and focuses solely on writing an image." +HOMEPAGE = "https://github.com/embetrix/bmap-writer" +SECTION = "console/utils" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e49f4652534af377a713df3d9dec60cb" + +SRC_URI = "git://github.com/embetrix/${BPN};branch=master;protocol=https" +SRCREV = "74826a19f7eb31e029405cd0ea6b07c2aaddc73d" +S = "${WORKDIR}/git" + +DEPENDS= "openssl libxml2 xz zlib" +inherit cmake + +EXTRA_OEMAKE += 'LIBXML2_HEADER_PATH="${STAGING_INCDIR}/libxml2"' + +FILES:${PN} = "${bindir}/bmap-writer" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf