diff options
| author | Enric Balletbo i Serra <eballetbo@gmail.com> | 2010-06-13 11:58:31 +0200 |
|---|---|---|
| committer | Joshua Lock <josh@linux.intel.com> | 2010-07-05 15:49:32 +0100 |
| commit | f594a1145eb5b952265a3fdf6b158ef41b148b12 (patch) | |
| tree | ee664a4bb012160ccf7611158c5b5873503b7490 /meta/packages/mtd/mtd-utils_1.3.1.bb | |
| parent | 1d22846b489a2bbf925d9c58618ec7b8769460c6 (diff) | |
| download | poky-f594a1145eb5b952265a3fdf6b158ef41b148b12.tar.gz | |
mtd-utils: update to 1.3.1 to allow UBI support.
Signed-off-by: Enric Balletbo i Serra <eballetbo@gmail.com>
Diffstat (limited to 'meta/packages/mtd/mtd-utils_1.3.1.bb')
| -rw-r--r-- | meta/packages/mtd/mtd-utils_1.3.1.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/packages/mtd/mtd-utils_1.3.1.bb b/meta/packages/mtd/mtd-utils_1.3.1.bb new file mode 100644 index 0000000000..909b28b21c --- /dev/null +++ b/meta/packages/mtd/mtd-utils_1.3.1.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 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" | ||
| 27 | NATIVE_INSTALL_WORKS = "1" | ||
