SConstruct (9651:f551c8ad12a5) SConstruct (9657:0e15490aad4f)
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

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

948have_kvm = conf.CheckHeader('linux/kvm.h', '<>')
949if not have_kvm:
950 print "Info: Header file <linux/kvm.h> not found, " \
951 "disabling KVM support."
952
953# Check if the requested target ISA is compatible with the host
954def is_isa_kvm_compatible(isa):
955 isa_comp_table = {
1# -*- mode:python -*-
2
3# Copyright (c) 2011 Advanced Micro Devices, Inc.
4# Copyright (c) 2009 The Hewlett-Packard Development Company
5# Copyright (c) 2004-2005 The Regents of The University of Michigan
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without

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

948have_kvm = conf.CheckHeader('linux/kvm.h', '<>')
949if not have_kvm:
950 print "Info: Header file <linux/kvm.h> not found, " \
951 "disabling KVM support."
952
953# Check if the requested target ISA is compatible with the host
954def is_isa_kvm_compatible(isa):
955 isa_comp_table = {
956 "arm" : ( "armv7l" ),
956 }
957 try:
958 import platform
959 host_isa = platform.machine()
960 except:
961 print "Warning: Failed to determine host ISA."
962 return False
963

--- 304 unchanged lines hidden ---
957 }
958 try:
959 import platform
960 host_isa = platform.machine()
961 except:
962 print "Warning: Failed to determine host ISA."
963 return False
964

--- 304 unchanged lines hidden ---