mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-07-16 03:47:19 +00:00
arm: add cramfs class and recipes
Add cramfs-xip to image types and cramfs tools. Change-Id: I801788c8c73fe354aa526032ae20927a48672cac Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
This commit is contained in:
committed by
Tushar Khandelwal
parent
ebb261e64b
commit
f43c35f07c
@@ -0,0 +1,15 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
# Copyright (c) 2019 Arm Limited
|
||||
#
|
||||
SUMMARY = "Cramfs XIP image type"
|
||||
DESCRIPTION = "Cramfs XIP type image to add to IMAGE_TYPES"
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit image_types
|
||||
|
||||
do_image_cramfs_xip[depends] += "cramfs-tools-native:do_populate_sysroot"
|
||||
|
||||
IMAGE_TYPES += " cramfs-xip"
|
||||
|
||||
IMAGE_CMD_cramfs-xip = "mkcramfs -n ${IMAGE_NAME} -X ${IMAGE_ROOTFS} ${IMGDEPLOYDIR}/${IMAGE_NAME}${IMAGE_NAME_SUFFIX}.cramfs-xip ${EXTRA_IMAGECMD}"
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Cramfs tools"
|
||||
DESCRIPTION = "Cramfs tools to create cramfs images with support to XIP"
|
||||
HOMEPAGE = "https://github.com/npitre/cramfs-tools"
|
||||
LICENSE = "GPLv2"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833"
|
||||
|
||||
SRC_URI = "git://github.com/npitre/cramfs-tools;protocol=https;nobranch=1"
|
||||
|
||||
SRCREV = "23d032e6e0a973810c6aedf165441592641b60f4"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
do_compile () {
|
||||
oe_runmake
|
||||
}
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${bindir}
|
||||
install ${S}/mkcramfs ${D}${bindir}
|
||||
install ${S}/cramfsck ${D}${bindir}
|
||||
}
|
||||
Reference in New Issue
Block a user