]> code.ossystems Code Review - openembedded-core.git/commit
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>
Mon, 17 Jun 2013 16:02:47 +0000 (17:02 +0100)
commit873689bbabba25e7be5c12317c04519a7bc8d0ef
treed72072916f8493e9e688d10902f0b40a645d7693
parent631a0ec8cc7e53c2df2fc62c5276f940ed45b39e
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.

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