]> code.ossystems Code Review - openembedded-core.git/commitdiff
mtd-utils: do not stage headers in sysroot
authorAndrea Adami <andrea.adami@gmail.com>
Thu, 21 Jun 2012 22:57:03 +0000 (00:57 +0200)
committerSaul Wold <sgw@linux.intel.com>
Wed, 27 Jun 2012 15:12:18 +0000 (08:12 -0700)
* 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>
meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb

index daa3554317f9e71ac0567df71dd1a3d7181fa73a..1a9d4d377c1b031f227bcf2623c3d72189802913 100644 (file)
@@ -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 = ""