[OE-core] [PATCH 1/1] alsa-tools: Fix recipe build error.

Khem Raj raj.khem at gmail.com
Tue Jul 19 00:47:11 UTC 2011


On Mon, Jul 18, 2011 at 5:37 PM, Dongxiao Xu <dongxiao.xu at intel.com> wrote:
> Remove some elements in alsa-tools to avoid build error and further
> dependency on new recipes.
>
> [YOCTO #1038]
>
> Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
> ---
>  .../alsa/alsa-tools-1.0.24.1/autotools.patch       |   34 ++++++++++++++++++++
>  .../recipes-multimedia/alsa/alsa-tools_1.0.24.1.bb |    7 +++-
>  2 files changed, 39 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
>
> diff --git a/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
> new file mode 100644
> index 0000000..c7bc2d6
> --- /dev/null
> +++ b/meta/recipes-multimedia/alsa/alsa-tools-1.0.24.1/autotools.patch
> @@ -0,0 +1,34 @@
> +Add parameters to autoreconf to support cross compile.
> +Remove some sub-components which needs further recipe support.
> +
> +Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
> +
> +Upstream-Status: Inappropriate [configuration]
> +
> +diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile
> +--- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile        2011-07-06 11:27:40.227665002 +0800
> ++++ alsa-tools-1.0.24.1/ld10k1/gitcompile      2011-07-14 13:26:18.017665004 +0800
> +@@ -1,6 +1,6 @@
> + #!/bin/bash
> +
> +-autoreconf -fi || exit 1
> ++autoreconf $ACLOCAL_FLAGS -fi || exit 1
> + export CFLAGS='-O2 -Wall -pipe -g'
> + echo "CFLAGS=$CFLAGS"
> + echo "./configure $@"
> +diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
> +--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
> ++++ alsa-tools-1.0.24.1/Makefile       2011-07-14 15:08:08.877665009 +0800
> +@@ -1,9 +1,8 @@
> + VERSION = 1.0.24.1
> + TOP = .
> +-SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
> +-        mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
> +-        us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
> +-        hwmixvolume
> ++SUBDIRS = ac3dec as10k1 hdsploader mixartloader pcxhrloader sb16_csp \
> ++          seq sscape_ctl us428control usx2yloader vxloader ld10k1 \
> ++          hwmixvolume

does --disable-envy24control etc. work ?




More information about the Openembedded-core mailing list