aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/acpica/files/cross-compile.patch
blob: f2917ca994f7027fe61d753e2af7fdcf541a18cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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