diff options
author | Ross Burton <ross.burton@intel.com> | 2013-03-01 14:32:00 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-01 15:38:49 +0000 |
commit | 546eef26c06f472aa209289738fce2385611f3a6 (patch) | |
tree | 351860212c30c58472aa6599d769cabd6993563f /meta/recipes-multimedia | |
parent | 8b87cb519edb2805a8bde98fd9b7b41c43c13b5b (diff) | |
download | poky-546eef26c06f472aa209289738fce2385611f3a6.tar.gz |
alsa-tools: fix compilation error
Backport a fix from master to fix cross-compilation issues related to automake.
(From OE-Core rev: d8204a21becac6f7eb54096c6af22d6de64eb932)
Signed-off-by: Ross Burton <ross.burton@intel.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.25.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools_1.0.25.bb b/meta/recipes-multimedia/alsa/alsa-tools_1.0.25.bb index 7d96b853b9..3ee6e0daa9 100644 --- a/meta/recipes-multimedia/alsa/alsa-tools_1.0.25.bb +++ b/meta/recipes-multimedia/alsa/alsa-tools_1.0.25.bb | |||
@@ -20,6 +20,11 @@ SRC_URI[sha256sum] = "a974d0f3e837796f67d04df88c783aebcf4ac3c5f9ac31e2b65c10e8cb | |||
20 | 20 | ||
21 | inherit autotools | 21 | inherit autotools |
22 | 22 | ||
23 | EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix}' ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'" | 23 | EXTRA_OEMAKE += "GITCOMPILE_ARGS='--host=${HOST_SYS} --build=${BUILD_SYS} --target=${TARGET_SYS} --with-libtool-sysroot=${STAGING_DIR_HOST} --prefix=${prefix} --libdir=${libdir}' ACLOCAL_FLAGS='-I ${STAGING_DATADIR}/aclocal'" |
24 | |||
25 | do_compile_prepend () { | ||
26 | #Automake dir is not correctly detected in cross compilation case | ||
27 | export AUTOMAKE_DIR=${STAGING_DATADIR_NATIVE}/$(ls ${STAGING_DATADIR_NATIVE} | grep automake) | ||
28 | } | ||
24 | 29 | ||
25 | FILES_${PN} += "${datadir}/ld10k1" | 30 | FILES_${PN} += "${datadir}/ld10k1" |