From eb8dc40360f0cfef56fb6947cc817a547d6d9bc6 Mon Sep 17 00:00:00 2001 From: Dave Cobbley Date: Tue, 14 Aug 2018 10:05:37 -0700 Subject: [Subtree] Removing import-layers directory As part of the move to subtrees, need to bring all the import layers content to the top level. Change-Id: I4a163d10898cbc6e11c27f776f60e1a470049d8f Signed-off-by: Dave Cobbley Signed-off-by: Brad Bishop --- .../recipes-filesystems/yaffs2/yaffs2-utils_git.bb | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb (limited to 'meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb') diff --git a/meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb new file mode 100644 index 000000000..67c926b2c --- /dev/null +++ b/meta-openembedded/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb @@ -0,0 +1,40 @@ +SUMMARY = "Yet Another Flash File System" +DESCRIPTION = "Tools for managing 'yaffs2' file systems." + +SECTION = "base" +HOMEPAGE = "http://www.yaffs.net" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561" + +PV = "0.0+git${SRCPV}" + +DEPENDS = "mtd-utils" + +# Source is the HEAD of master branch at the time of writing this recipe +SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \ + file://makefile-add-ldflags.patch \ + file://0001-define-loff_t-if-not-already-defined.patch \ + " + +SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578" +S = "${WORKDIR}/git" + +CFLAGS_append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES" +EXTRA_OEMAKE = "-e MAKEFLAGS=" + +do_compile() { + cd utils && oe_runmake +} + +INSTALL_FILES = "mkyaffsimage \ + mkyaffs2image \ + " +do_install() { + install -d ${D}${sbindir}/ + for i in ${INSTALL_FILES}; do + install -m 0755 utils/$i ${D}${sbindir}/ + done +} + +BBCLASSEXTEND = "native" -- cgit v1.2.1