[OE stablebranch] [BUG] mtd-utils-dev is missing headers

Tom Rini trini at kernel.crashing.org
Fri May 30 21:02:04 CEST 2008


On Tue, May 20, 2008 at 10:14:21AM +0200, Koen Kooi wrote:
> 
> 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>

Still looking for a 2nd ACK.

> > ---
> > 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



More information about the Openembedded-stablebranch mailing list