render / rpms / edk2

Forked from rpms/edk2 3 months ago
Clone

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 60a9a2
   ifeq ($(uname_m),x86_64)
Paolo Bonzini 60a9a2
     ARCH=X64
Paolo Bonzini 60a9a2
   endif
Paolo Bonzini 60a9a2
+  ifeq ($(patsubst arm%,ARM,$(uname_m)),ARM)
Paolo Bonzini 60a9a2
+    ARCH=ARM
Paolo Bonzini 60a9a2
+  endif
Paolo Bonzini 60a9a2
   ifeq ($(patsubst i%86,IA32,$(uname_m)),IA32)
Paolo Bonzini 60a9a2
     ARCH=IA32
Paolo Bonzini 60a9a2
   endif