- Yet more DSD fix, hwdep iface sync with the recent kernel, and a minor documentation fix from upstream: 0019-Sync-enum-snd_hwdep_iface_t-with-include-asound-asou.patch 0020-pcm-2nd-round-of-pcm_misc-DSD-fixes.patch 0021-doc-fix-cross-compiling-example.patch OBS-URL: https://build.opensuse.org/request/show/246456 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa?expand=0&rev=168
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 5f1960e3d8d56aa63afe2c37c6a3f4aa03571627 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Voytik <voytikd@gmail.com>
|
|
Date: Fri, 22 Aug 2014 14:17:10 +0400
|
|
Subject: [PATCH] doc: fix cross-compiling example
|
|
|
|
Simplest way to configure cross-compilation with configure
|
|
script is to pass '--host' option.
|
|
Passing just '--target' doesn't work.
|
|
|
|
Signed-off-by: Dmitry Voytik <voytikd@gmail.com>
|
|
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
---
|
|
INSTALL | 9 +++------
|
|
1 file changed, 3 insertions(+), 6 deletions(-)
|
|
|
|
diff --git a/INSTALL b/INSTALL
|
|
index 91a8648e1462..47086e3cd7cc 100644
|
|
--- a/INSTALL
|
|
+++ b/INSTALL
|
|
@@ -78,16 +78,13 @@ When you would like to cross-compile ALSA library (e.g. compile on
|
|
i686 host but for arm architecture) you will need to call ./configure
|
|
script with additional parameters:
|
|
|
|
-CC=arm-linux-gcc ./configure --target=arm-linux
|
|
+CC=arm-linux-gcc ./configure --host=arm-linux
|
|
|
|
-In this example host where the library is build is guessed (should be
|
|
-given with --host=platform) and target for which is the library build is
|
|
-Linux on ARM architecture. You should omit setting 'CC' variable and
|
|
-cross-compiler will be guessed too.
|
|
+You can omit setting 'CC' variable and cross-compiler will be guessed too.
|
|
|
|
So simplest version would be:
|
|
|
|
-./configure --target=arm-linux
|
|
+./configure --host=arm-linux
|
|
|
|
For platform names in the form cpu-vendor-os (or aliases for this)
|
|
you should look in 'config.guess' script. Target and all paths
|
|
--
|
|
2.1.0
|
|
|