Blame basetools-arm.patch
|
Paolo Bonzini |
7fb401 |
diff --git a/Source/C/GNUmakefile b/Source/C/GNUmakefile
|
|
Paolo Bonzini |
60a9a2 |
index e0dde3e..bee0059 100644
|
|
Paolo Bonzini |
7fb401 |
--- a/Source/C/GNUmakefile
|
|
Paolo Bonzini |
7fb401 |
+++ b/Source/C/GNUmakefile
|
|
Paolo Bonzini |
60a9a2 |
@@ -22,6 +22,9 @@ ifndef ARCH
|
|
Paolo Bonzini |
d282ae |
ifeq ($(uname_m),x86_64)
|
|
Paolo Bonzini |
d282ae |
ARCH=X64
|
|
Paolo Bonzini |
d282ae |
endif
|
|
Paolo Bonzini |
d282ae |
+ ifeq ($(patsubst arm%,ARM,$(uname_m)),ARM)
|
|
Paolo Bonzini |
d282ae |
+ ARCH=ARM
|
|
Paolo Bonzini |
d282ae |
+ endif
|
|
Paolo Bonzini |
d282ae |
ifeq ($(patsubst i%86,IA32,$(uname_m)),IA32)
|
|
Paolo Bonzini |
d282ae |
ARCH=IA32
|
|
Paolo Bonzini |
d282ae |
endif
|