Blame basetools-arm.patch
|
Paolo Bonzini |
60a9a2 |
diff --git a/BaseTools/Source/C/GNUmakefile b/BaseTools/Source/C/GNUmakefile
|
|
Paolo Bonzini |
60a9a2 |
index e0dde3e..bee0059 100644
|
|
Paolo Bonzini |
60a9a2 |
--- a/BaseTools/Source/C/GNUmakefile
|
|
Paolo Bonzini |
60a9a2 |
+++ b/BaseTools/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
|