1 DESCRIPTION
= "Tools for managing memory technology devices."
3 DEPENDS
= "zlib util-linux-ng lzo2"
4 #DEPENDS
= "zlib lzo e2fsprogs util-linux"
5 HOMEPAGE
= "http://www.linux-mtd.infradead.org/"
11 SRC_URI
= "git://git.infradead.org/mtd-utils.git;protocol=git;tag=${TAG} \
12 file://add-exclusion-to-mkfs-jffs2-git-2.patch \
17 EXTRA_OEMAKE
= "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
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
/
27 PACKAGES
=+ "mkfs-jffs2 mkfs-ubifs"
28 FILES_mkfs
-jffs2
= "${sbindir}/mkfs.jffs2"
29 FILES_mkfs
-ubifs
= "${sbindir}/mkfs.ubifs"
33 BBCLASSEXTEND
= "native"
34 NATIVE_INSTALL_WORKS
= "1"