mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	x86: only enable at_keyboard for the generic and kvm_guest subtargets to avoid hangs on alix2 and others (thx, russell)
SVN-Revision: 34126
This commit is contained in:
		
							parent
							
								
									502661f685
								
							
						
					
					
						commit
						0a9e05fb0e
					
				@ -9,13 +9,20 @@ include $(INCLUDE_DIR)/image.mk
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
export PATH=$(TARGET_PATH):/sbin
 | 
					export PATH=$(TARGET_PATH):/sbin
 | 
				
			||||||
 | 
					
 | 
				
			||||||
GRUB2_MODULES = at_keyboard biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
 | 
					GRUB2_MODULES = biosdisk boot chain configfile ext2 linux ls part_msdos reboot serial vga
 | 
				
			||||||
GRUB2_MODULES_ISO = at_keyboard biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial vga
 | 
					GRUB2_MODULES_ISO = biosdisk boot chain configfile iso9660 linux ls part_msdos reboot serial vga
 | 
				
			||||||
GRUB_TERMINALS =
 | 
					GRUB_TERMINALS =
 | 
				
			||||||
GRUB_SERIAL_CONFIG =
 | 
					GRUB_SERIAL_CONFIG =
 | 
				
			||||||
GRUB_TERMINAL_CONFIG =
 | 
					GRUB_TERMINAL_CONFIG =
 | 
				
			||||||
GRUB_CONSOLE_CMDLINE =
 | 
					GRUB_CONSOLE_CMDLINE =
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					USE_ATKBD = generic kvm_guest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ifneq ($(foreach subtarget,$(USE_ATKBD),$(CONFIG_TARGET_x86_$(subtarget))),)
 | 
				
			||||||
 | 
					  GRUB2_MODULES += at_keyboard
 | 
				
			||||||
 | 
					  GRUB2_MODULES_ISO += at_keyboard
 | 
				
			||||||
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ifneq ($(CONFIG_X86_GRUB_CONSOLE),)
 | 
					ifneq ($(CONFIG_X86_GRUB_CONSOLE),)
 | 
				
			||||||
  GRUB_CONSOLE_CMDLINE += console=tty0
 | 
					  GRUB_CONSOLE_CMDLINE += console=tty0
 | 
				
			||||||
  GRUB_TERMINALS += console
 | 
					  GRUB_TERMINALS += console
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user