[OE stablebranch] [BUG] mtd-utils-dev is missing headers
Koen Kooi
k.kooi at student.utwente.nl
Tue May 20 10:14:21 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 20 mei 2008, om 01:03 heeft Tom Rini het volgende geschreven:
> Hello, the following is bug 4281
> (http://bugs.openembedded.net/show_bug.cgi?id=4281)
>
> The mtd-utils_1.0.0+git.bb file copies a number of header files over
> to
> the staging directory. It does not however, copy them over to the
> install. This means that any SDK type export of this package is
> missing
> headers. The attached patch fixes that.
>
> The following patch here is correct the first time, unlike in the
> original bug.
Acked-by: Koen Kooi <koen at openembedded.org>
>
> ---
> packages/mtd/mtd-utils_1.0.0+git.bb | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> Index: stable/packages/mtd/mtd-utils_1.0.0+git.bb
> ===================================================================
> --- stable.orig/packages/mtd/mtd-utils_1.0.0+git.bb
> +++ stable/packages/mtd/mtd-utils_1.0.0+git.bb
> @@ -3,7 +3,7 @@ SECTION = "base"
> DEPENDS = "zlib lzo"
> HOMEPAGE = "http://www.linux-mtd.infradead.org/"
> LICENSE = "GPLv2"
> -PR = "r6"
> +PR = "r7"
>
> # This is the default package, thus we lock to a specific git
> version so
> # upstream changes will not break builds.
> @@ -36,7 +36,11 @@ mtd_utils = "ftl_format flash_erase flas
>
> do_install () {
> install -d ${D}${bindir}
> + install -d ${D}${includedir}/mtd
> for binary in ${mtd_utils}; do
> install -m 0755 $binary ${D}${bindir}
> done
> + for f in ${S}/include/mtd/*.h; do
> + install -m 0644 $f ${D}${includedir}/mtd/
> + done
> }
>
> --
> Tom Rini
>
> _______________________________________________
> Openembedded-stablebranch mailing list
> Openembedded-stablebranch at openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-stablebranch
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFIMohfMkyGM64RGpERArOjAKCEibvW2HTsmNn8p+J8N97cdc9pqACZAX/I
dMh/Ks9qsuiHyeK1NEbvpic=
=FYdx
-----END PGP SIGNATURE-----
More information about the Openembedded-stablebranch
mailing list