[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH v2 42/47] mini-os: Set TARGET_ARCH_FAM for arm64



Set TARGET_ARCH_FAM for arm64 code.

Signed-off-by: Huang Shijie <shijie.huang@xxxxxxx>
---
 Config.mk | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Config.mk b/Config.mk
index f6a2afa..63605e7 100644
--- a/Config.mk
+++ b/Config.mk
@@ -55,10 +55,13 @@ XEN_INTERFACE_VERSION ?= 0x00030205
 export XEN_INTERFACE_VERSION
 
 # Try to find out the architecture family TARGET_ARCH_FAM.
-# First check whether x86_... is contained (for x86_32, x86_32y, x86_64).
-# If not x86 then use $(MINIOS_TARGET_ARCH)
+# First check whether x86_... is contained (for x86_32, x86_32y, x86_64),
+# then check whether arm is contained (for arm64, arm32),
+# If not x86/arm then use $(MINIOS_TARGET_ARCH)
 ifeq ($(findstring x86_,$(MINIOS_TARGET_ARCH)),x86_)
 TARGET_ARCH_FAM = x86
+else ifeq ($(findstring arm,$(MINIOS_TARGET_ARCH)),arm)
+TARGET_ARCH_FAM = arm
 else
 TARGET_ARCH_FAM = $(MINIOS_TARGET_ARCH)
 endif
-- 
2.7.4


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.