aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/acpica/files/cross-compile.patch
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-08-08 03:51:48 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-08-16 12:58:29 +0200
commitaf7ffe8bcd88270c0aebb212ee347061b21324d9 (patch)
treef009c20e005ee48a3e59819dee5ae24518fa4bb0 /meta-oe/recipes-extended/acpica/files/cross-compile.patch
parent650c5fa94eb9902f6ecc4b8baa4b84b01f94c671 (diff)
downloadmeta-openembedded-af7ffe8bcd88270c0aebb212ee347061b21324d9.tar.gz
sdk: add acpica recipe
Signed-off-by: Naresh Bhat <naresh.bhat@linaro.org> Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> Signed-off-by: Matt Ranostay <mranostay@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/acpica/files/cross-compile.patch')
-rw-r--r--meta-oe/recipes-extended/acpica/files/cross-compile.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/acpica/files/cross-compile.patch b/meta-oe/recipes-extended/acpica/files/cross-compile.patch
new file mode 100644
index 000000000..f2917ca99
--- /dev/null
+++ b/meta-oe/recipes-extended/acpica/files/cross-compile.patch
@@ -0,0 +1,19 @@
+Description: add cross compile support
+Forwarded: not-needed
+Author: Fathi Boudra <fathi.boudra@linaro.org>
+
+---
+ generate/unix/Makefile.config | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/generate/unix/Makefile.config
++++ b/generate/unix/Makefile.config
+@@ -35,7 +35,7 @@
+ .SUFFIXES :
+ PROGS = acpibin acpidump acpiexec acpihelp acpinames acpisrc acpixtract iasl
+ HOST ?= _CYGWIN
+-CC = gcc
++CC ?= $(CROSS_COMPILE)gcc
+
+ #
+ # Common defines