SConstruct (9877:b072123bc071) SConstruct (9883:7e0dff1c165b)
1# -*- mode:python -*-
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 928 unchanged lines hidden (view full) ---

937if not have_kvm:
938 print "Info: Header file <linux/kvm.h> not found, " \
939 "disabling KVM support."
940
941# Check if the requested target ISA is compatible with the host
942def is_isa_kvm_compatible(isa):
943 isa_comp_table = {
944 "arm" : ( "armv7l" ),
1# -*- mode:python -*-
2
3# Copyright (c) 2013 ARM Limited
4# All rights reserved.
5#
6# The license below extends only to copyright in the software and shall
7# not be construed as granting a license to any other intellectual
8# property including but not limited to intellectual property relating

--- 928 unchanged lines hidden (view full) ---

937if not have_kvm:
938 print "Info: Header file <linux/kvm.h> not found, " \
939 "disabling KVM support."
940
941# Check if the requested target ISA is compatible with the host
942def is_isa_kvm_compatible(isa):
943 isa_comp_table = {
944 "arm" : ( "armv7l" ),
945 "x86" : ( "x86_64" ),
945 }
946 try:
947 import platform
948 host_isa = platform.machine()
949 except:
950 print "Warning: Failed to determine host ISA."
951 return False
952

--- 304 unchanged lines hidden ---
946 }
947 try:
948 import platform
949 host_isa = platform.machine()
950 except:
951 print "Warning: Failed to determine host ISA."
952 return False
953

--- 304 unchanged lines hidden ---