opkg: fix header installation for libopkg
authorPaul Barker <paul@paulbarker.me.uk>
Mon, 17 Jun 2013 00:22:02 +0000 (01:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 18 Jun 2013 16:33:15 +0000 (17:33 +0100)
commit431b34a53627f60bbaa95210ee0ab57099c24bf8
tree1558cebeddfc5c02ae4b8388ebd1362b41e875f5
parentade6321be67f5839b1b3d38590994598e2fb98ee
opkg: fix header installation for libopkg

When opkg is built outside the source directory, libopkg headers aren't all
installed as the search path for headers only includes the directory that make
is being ran in, not the source directory. So we fix this by adding
$(srcdir)/*.h to the list of header files to install.

Without this patch, "/usr/include/libopkg" will only include the file config.h.
With this patch, other files such as "opkg.h" are present which are needed to
compile software which uses libopkg.

The new patch has also been submitted upstream as a fix to opkg itself.

(From OE-Core rev: 873689bbabba25e7be5c12317c04519a7bc8d0ef)

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/opkg/opkg/0001-Fix-libopkg-header-installation.patch [new file with mode: 0644]
meta/recipes-devtools/opkg/opkg_svn.bb