aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-01-14 10:42:13 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-14 11:52:40 +0000
commit59f46f9c9f8a36d8829b9b33291249a7b92ebcac (patch)
treecae0fde1322d8a1684e41f4b344dbbb48447afe1 /meta/recipes-multimedia/alsa
parent0f05393bad8ac84627f339aa1619c96c22d2dc37 (diff)
downloadopenembedded-core-contrib-59f46f9c9f8a36d8829b9b33291249a7b92ebcac.tar.gz
alsa-tools: fix the AUTOMAKE_DIR
There should be only one automake under the STAGING_DATADIR_NATIVE in theory, but der_steffi@gmx.de has reported an odd problem which seemed like that there are more than one. However, the "automake --print-libdir" is the regular way to locate automake libdir. [YOCTO #5706] Reported-by: der_steffi@gmx.de Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/alsa')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
index c3b97a31bc..5b0f6ae809 100644
--- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
+++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb
@@ -32,7 +32,7 @@ do_configure () {
do_compile_prepend () {
#Automake dir is not correctly detected in cross compilation case
- export AUTOMAKE_DIR=${STAGING_DATADIR_NATIVE}/$(ls ${STAGING_DATADIR_NATIVE} | grep automake)
+ export AUTOMAKE_DIR="$(automake --print-libdir)"
export ACLOCAL_FLAGS="--system-acdir=${ACLOCALDIR}/"
}