diff options
Diffstat (limited to 'meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb')
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb b/meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb new file mode 100644 index 0000000000..faa2332a25 --- /dev/null +++ b/meta/recipes-devtools/mtd/mtd-utils_1.3.1.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "Tools for managing memory technology devices." | ||
2 | SECTION = "base" | ||
3 | DEPENDS = "zlib lzo e2fsprogs util-linux" | ||
4 | HOMEPAGE = "http://www.linux-mtd.infradead.org/" | ||
5 | LICENSE = "GPLv2" | ||
6 | |||
7 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=v${PV} \ | ||
8 | file://add-exclusion-to-mkfs-jffs2-git-2.patch;patch=1 \ | ||
9 | file://fix-ignoreerrors-git.patch;patch=1 \ | ||
10 | file://add-oobsize-64-and-writesize-4096-as-normal-nand.patch;patch=1" | ||
11 | |||
12 | S = "${WORKDIR}/git/" | ||
13 | |||
14 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" | ||
15 | |||
16 | do_install () { | ||
17 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | ||
18 | install -d ${D}${includedir}/mtd/ | ||
19 | for f in ${S}/include/mtd/*.h; do | ||
20 | install -m 0644 $f ${D}${includedir}/mtd/ | ||
21 | done | ||
22 | } | ||
23 | |||
24 | PARALLEL_MAKE = "" | ||
25 | |||
26 | BBCLASSEXTEND = "native" | ||