summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/mtd
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2012-06-22 00:57:03 +0200
committerSaul Wold <sgw@linux.intel.com>2012-06-27 08:12:18 -0700
commit2a4ab6fc2ef10202d13568aba5d7633e88aa71e5 (patch)
tree6c44b4cd370bc9eea9ec55c2b11ac05dca423cf5 /meta/recipes-devtools/mtd
parent6c33d56f0f6b472e8ba695d1f2636bc829e56696 (diff)
downloadopenembedded-core-2a4ab6fc2ef10202d13568aba5d7633e88aa71e5.tar.gz
openembedded-core-2a4ab6fc2ef10202d13568aba5d7633e88aa71e5.tar.bz2
openembedded-core-2a4ab6fc2ef10202d13568aba5d7633e88aa71e5.zip
mtd-utils: do not stage headers in sysroot
* Headers are included in the package for compatibility * but have not yet been synched with linux 3.0 * The actual issue was that ubi-user.h in sysroot * was overwritten by the older version. * Unfortunately one ioctl was renamed: * http://lists.infradead.org/pipermail/linux-mtd/ * 2011-March/034419.html * Note: the recipe will still use its own older header, * following upstream. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta/recipes-devtools/mtd')
-rw-r--r--meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
index daa3554317..1a9d4d377c 100644
--- a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
+++ b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb
@@ -11,16 +11,12 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=ca39eb1d98e736
S = "${WORKDIR}/git/"
-PR = "r0"
+PR = "r1"
EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'"
do_install () {
oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir}
- install -d ${D}${includedir}/mtd/
- for f in ${S}/include/mtd/*.h; do
- install -m 0644 $f ${D}${includedir}/mtd/
- done
}
PARALLEL_MAKE = ""