diff options
author | Andrea Adami <andrea.adami@gmail.com> | 2012-06-22 00:57:03 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-06-28 16:26:42 +0100 |
commit | 2fa7732840c9d70303650c61a437f6b02e1984a6 (patch) | |
tree | 51af1c378e1566da9b08d5b71a86a81fd0c43856 | |
parent | ea88444b4024d79f389017f441a166f906a7000b (diff) | |
download | poky-2fa7732840c9d70303650c61a437f6b02e1984a6.tar.gz |
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.
(From OE-Core rev: 2a4ab6fc2ef10202d13568aba5d7633e88aa71e5)
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb | 6 |
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 | |||
11 | 11 | ||
12 | S = "${WORKDIR}/git/" | 12 | S = "${WORKDIR}/git/" |
13 | 13 | ||
14 | PR = "r0" | 14 | PR = "r1" |
15 | 15 | ||
16 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" | 16 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" |
17 | 17 | ||
18 | do_install () { | 18 | do_install () { |
19 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | 19 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} |
20 | install -d ${D}${includedir}/mtd/ | ||
21 | for f in ${S}/include/mtd/*.h; do | ||
22 | install -m 0644 $f ${D}${includedir}/mtd/ | ||
23 | done | ||
24 | } | 20 | } |
25 | 21 | ||
26 | PARALLEL_MAKE = "" | 22 | PARALLEL_MAKE = "" |