Skip to contentSkip to conversation

alsa-tools: fix the AUTOMAKE_DIR

PATCH New Robert Yang 1 participant 2 messages Jan 14, 2014

lore
Share & tools
lore
#0 lore raw

cover alsa-tools: fix the AUTOMAKE_DIR

The following changes since commit 1b636173ca88e5ccca1992f9a12367a1189fa674:

bitbake: toaster: Toaster GUI, generic search, filter and order (2014-01-10 15:20:26 +0000)

are available in the git repository at:

git://git.pokylinux.org/poky-contrib rbt/at
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/at

Robert Yang (1):
alsa-tools: fix the AUTOMAKE_DIR

 meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.8.3.1
#1 lore raw

PATCH 1/1 alsa-tools: fix the AUTOMAKE_DIR

There should be only one automake under the STAGING_DATADIR_NATIVE in theory, but [email protected] 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]

---
 meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-multimedia/alsa/alsa-tools_1.0.26.1.bb +1 -1
index c3b97a3..5b0f6ae 100644
@@ -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}/"
 }
 
Signature · 1 line
1.8.3.1