cornucopia: bump SRCREV
[openembedded.git] / recipes / mtd / mtd-utils_1.4.4.bb
blob19adeff5d51a51d189547a79bd8ae38de1fc6642
1 DESCRIPTION = "Tools for managing memory technology devices."
2 SECTION = "base"
3 DEPENDS = "zlib util-linux-ng lzo2"
4 #DEPENDS = "zlib lzo e2fsprogs util-linux"
5 HOMEPAGE = "http://www.linux-mtd.infradead.org/"
6 LICENSE = "GPLv2+"
7 PR = "r0"
9 TAG = "v${PV}"
11 SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=${TAG} \
12 file://add-exclusion-to-mkfs-jffs2-git-2.patch \
15 S = "${WORKDIR}/git/"
17 EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
19 do_install () {
20 oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
21 install -d ${D}${includedir}/mtd/
22 for f in ${S}/include/mtd/*.h; do
23 install -m 0644 $f ${D}${includedir}/mtd/
24 done
27 PACKAGES =+ "mkfs-jffs2 mkfs-ubifs"
28 FILES_mkfs-jffs2 = "${sbindir}/mkfs.jffs2"
29 FILES_mkfs-ubifs = "${sbindir}/mkfs.ubifs"
31 PARALLEL_MAKE = ""
33 BBCLASSEXTEND = "native"
34 NATIVE_INSTALL_WORKS = "1"