1*4882a593SmuzhiyunSUMMARY = "LogFS Programs: used to create LogFS file system"
2*4882a593SmuzhiyunDESCRIPTION = "\
3*4882a593SmuzhiyunLogFS is a Linux log-structured and scalable flash file system, intended \
4*4882a593Smuzhiyunfor use on large devices of flash memory. It is written by Jörn Engel and \
5*4882a593Smuzhiyunin part sponsored by the CE Linux Forum. \
6*4882a593SmuzhiyunLogFS is included in the mainline Linux kernel and was introduced in \
7*4882a593Smuzhiyunversion 2.6.34, released on May 16, 2010."
8*4882a593SmuzhiyunHOMEPAGE = "https://github.com/prasad-joshi/logfsprogs"
9*4882a593SmuzhiyunSECTION = "base"
10*4882a593SmuzhiyunLICENSE = "GPL-2.0-only"
11*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://fsck.c;md5=3859dc73da97909ff1d0125e88a27e02"
12*4882a593SmuzhiyunDEPENDS = "zlib"
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunSRC_URI = "git://github.com/prasad-joshi/logfsprogs.git;branch=master;protocol=https \
15*4882a593Smuzhiyun           file://0001-Add-LDFLAGS-to-linker-cmdline.patch \
16*4882a593Smuzhiyun           file://0001-btree-Avoid-conflicts-with-libc-namespace-about-setk.patch \
17*4882a593Smuzhiyun           file://0001-include-sys-sysmacros.h-for-major-minor-definition.patch \
18*4882a593Smuzhiyun           "
19*4882a593SmuzhiyunSRCREV = "45b72c81ce3c6fa17ca19bafc207ea93e76312f4"
20*4882a593Smuzhiyun
21*4882a593SmuzhiyunS = "${WORKDIR}/git"
22*4882a593Smuzhiyun
23*4882a593SmuzhiyunEXTRA_OEMAKE = "CC="${CC}" LD="${LD}" AR="${AR}""
24*4882a593Smuzhiyun
25*4882a593Smuzhiyundo_install () {
26*4882a593Smuzhiyun    mkdir -p ${D}${bindir}
27*4882a593Smuzhiyun    install -m 0755 ${S}/mklogfs ${D}${bindir}/mklogfs
28*4882a593Smuzhiyun}
29*4882a593Smuzhiyun
30*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
31