Patchwork alsa-lib: remove hard-coded /usr/include in dev package

login
register
mail settings
Submitter Andrew McDermott
Date Jan. 15, 2014, 11:03 p.m.
Message ID <1389827031-16929-1-git-send-email-andrew.mcdermott@linaro.org>
Download mbox | patch
Permalink /patch/64933/
State New
Headers show

Comments

Andrew McDermott - Jan. 15, 2014, 11:03 p.m.
Specify the location of the alsa headers using ${includedir}. Without
this no headers get added to the image when the alsa-lib-dev package is
included.

Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
---
 meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
index 910e72d..cbe0448 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.0.27.2.bb
@@ -38,7 +38,7 @@  FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
 FILES_libasound = "${libdir}/libasound.so.*"
 FILES_alsa-server = "${bindir}/*"
 FILES_alsa-conf = "${datadir}/alsa/"
-FILES_alsa-dev += "${libdir}/pkgconfig/ /usr/include/ ${datadir}/aclocal/*"
+FILES_alsa-dev += "${libdir}/pkgconfig/ ${includedir}/alsa ${datadir}/aclocal/*"
 FILES_alsa-conf-base = "\
 ${datadir}/alsa/alsa.conf \
 ${datadir}/alsa/cards/aliases.conf \