busybox: add 1.19.3 getty and modinfo fixes

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Gustavo Zacarias 2011-10-31 09:02:18 -03:00 committed by Peter Korsgaard
parent c872a748b0
commit 9d885487ea
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,12 @@
--- busybox-1.19.3/loginutils/getty.c
+++ busybox-1.19.3-getty/loginutils/getty.c
@@ -271,7 +271,9 @@ static void termios_init(int speed)
#ifdef CMSPAR
| CMSPAR /* mark or space parity */
#endif
+#ifdef CBAUD
| CBAUD /* (output) baud rate */
+#endif
#ifdef CBAUDEX
| CBAUDEX /* (output) baud rate */
#endif

View File

@ -0,0 +1,10 @@
--- busybox-1.19.3/modutils/modinfo.c
+++ busybox-1.19.3-modinfo/modutils/modinfo.c
@@ -13,6 +13,7 @@
//config:config MODINFO
//config: bool "modinfo"
//config: default y
+//config: select PLATFORM_LINUX
//config: help
//config: Show information about a Linux Kernel module