diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-01-14 10:42:13 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-14 17:03:55 +0000 |
commit | 5ccdc914126e2408519bd9cae9dec20066a3033e (patch) | |
tree | 53026e5973bb6f68ec005d82b01b939535f81f10 /meta/recipes-multimedia | |
parent | 66d59b3cf16807ac982bb1ce219b34eed2872286 (diff) | |
download | poky-5ccdc914126e2408519bd9cae9dec20066a3033e.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
(From OE-Core rev: 59f46f9c9f8a36d8829b9b33291249a7b92ebcac)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb | 2 |
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 () { | |||
32 | 32 | ||
33 | do_compile_prepend () { | 33 | do_compile_prepend () { |
34 | #Automake dir is not correctly detected in cross compilation case | 34 | #Automake dir is not correctly detected in cross compilation case |
35 | export AUTOMAKE_DIR=${STAGING_DATADIR_NATIVE}/$(ls ${STAGING_DATADIR_NATIVE} | grep automake) | 35 | export AUTOMAKE_DIR="$(automake --print-libdir)" |
36 | export ACLOCAL_FLAGS="--system-acdir=${ACLOCALDIR}/" | 36 | export ACLOCAL_FLAGS="--system-acdir=${ACLOCALDIR}/" |
37 | } | 37 | } |
38 | 38 | ||