Add support for qemu-system-x86_64 in 64bit hosts
As x86-64 is a superset of x86, we can use qemu-system-x86_64 to run the OS image. Signed-off-by: Antonio Gutierrez <chibby0ne@gmail.com>
This commit is contained in:
		
							parent
							
								
									906610efc9
								
							
						
					
					
						commit
						1772853d39
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								Makefile
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -60,6 +60,8 @@ QEMU = $(shell if which qemu > /dev/null; \
 | 
			
		|||
	then echo qemu; exit; \
 | 
			
		||||
	elif which qemu-system-i386 > /dev/null; \
 | 
			
		||||
	then echo qemu-system-i386; exit; \
 | 
			
		||||
	elif which qemu-system-x86_64 > /dev/null; \
 | 
			
		||||
	then echo qemu-system-x86_64; exit; \
 | 
			
		||||
	else \
 | 
			
		||||
	qemu=/Applications/Q.app/Contents/MacOS/i386-softmmu.app/Contents/MacOS/i386-softmmu; \
 | 
			
		||||
	if test -x $$qemu; then echo $$qemu; exit; fi; fi; \
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue