mirror of
				git://git.openwrt.org/openwrt/openwrt.git
				synced 2025-11-03 22:44:27 -05:00 
			
		
		
		
	Some platforms have their console on other ports than ttyS0, so allow the developer to tailor this on bespoke platform images. Fixes issue #13401. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
		
			
				
	
	
		
			9 lines
		
	
	
		
			245 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			245 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
GRUB_SERIAL:=$(call qstrip,$(CONFIG_GRUB_SERIAL))
 | 
						|
ifeq ($(GRUB_SERIAL),)
 | 
						|
$(error This platform requires CONFIG_GRUB_SERIAL be set!)
 | 
						|
endif
 | 
						|
 | 
						|
define Package/base-files/install-target
 | 
						|
	$(SED) "s#@GRUB_SERIAL@#$(GRUB_SERIAL)#" $(1)/etc/inittab
 | 
						|
endef
 |