summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/alsa/alsa-tools/autotools.patch')
-rw-r--r--meta/recipes-multimedia/alsa/alsa-tools/autotools.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
new file mode 100644
index 0000000000..294e970cd1
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-tools/autotools.patch
@@ -0,0 +1,35 @@
1Add parameters to autoreconf to support cross compile.
2Remove some sub-components which needs further recipe support.
3
4Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
5
6Upstream-Status: Inappropriate [configuration]
7
8diff -ruN alsa-tools-1.0.24.1-orig//ld10k1/gitcompile alsa-tools-1.0.24.1/ld10k1/gitcompile
9--- alsa-tools-1.0.24.1-orig//ld10k1/gitcompile 2011-07-06 11:27:40.227665002 +0800
10+++ alsa-tools-1.0.24.1/ld10k1/gitcompile 2011-07-14 13:26:18.017665004 +0800
11@@ -1,6 +1,6 @@
12 #!/bin/bash
13
14-autoreconf -fi || exit 1
15+autoreconf $ACLOCAL_FLAGS -fi || exit 1
16 export CFLAGS='-O2 -Wall -pipe -g'
17 echo "CFLAGS=$CFLAGS"
18 echo "./configure $@"
19diff -ruN alsa-tools-1.0.24.1-orig//Makefile alsa-tools-1.0.24.1/Makefile
20--- alsa-tools-1.0.24.1-orig//Makefile 2011-07-06 11:27:40.207665000 +0800
21+++ alsa-tools-1.0.24.1/Makefile 2011-07-14 15:08:08.877665009 +0800
22@@ -1,9 +1,9 @@
23 VERSION = 1.0.26.1
24 TOP = .
25-SUBDIRS = ac3dec as10k1 envy24control hdsploader hdspconf hdspmixer \
26- mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
27- us428control usx2yloader vxloader echomixer ld10k1 qlo10k1 \
28- hwmixvolume hdajackretask hda-verb
29+SUBDIRS = ac3dec as10k1 envy24control \
30+ mixartloader pcxhrloader rmedigicontrol sb16_csp seq sscape_ctl \
31+ us428control usx2yloader vxloader echomixer \
32+ hwmixvolume hda-verb
33
34 all:
35 @for i in $(SUBDIRS); do \