Commit 21248fbb authored by Anton Midyukov's avatar Anton Midyukov

tty: Allow any tty* variants, allow override TTYDEV, TTYRATE

parent 7d4a10fc
......@@ -9,9 +9,9 @@ ifeq (distro,$(IMAGE_CLASS))
endif
comma := ,
use/tty/S0 use/tty/SIF0 use/tty/AMA0: use/tty/%: use/tty
use/tty/%: use/tty
@$(call add,THE_PACKAGES,agetty)
@$(call add,TTY_DEV,tty$*)
@$(call set,TTY_RATE,115200)
@$(call try,TTY_DEV,tty$*)
@$(call try,TTY_RATE,115200)
@$(call add,SYSLINUX_CFG,tty$*)
@$(call add,BASE_BOOTARGS,console=tty1 console=$$(TTY_DEV)$(comma)$$(TTY_RATE)n8)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment