mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
drivers/serial/Kconfig: Make feature dependent on CONFIG_BUILD_FLAT.
This commit is contained in:
@@ -23,7 +23,7 @@ config SERIAL_SIGKILL_CHAR
|
|||||||
int "Serial parse SIGKILL characters"
|
int "Serial parse SIGKILL characters"
|
||||||
default 3 if SERIAL_CONSOLE
|
default 3 if SERIAL_CONSOLE
|
||||||
default 4 if !SERIAL_CONSOLE
|
default 4 if !SERIAL_CONSOLE
|
||||||
depends on SIG_SIGKILL
|
depends on SIG_SIGKILL && BUILD_FLAT
|
||||||
---help---
|
---help---
|
||||||
Use ASCII 3 (Ctrl-c) or 4 (ctrl-d) inputs to determine whether to
|
Use ASCII 3 (Ctrl-c) or 4 (ctrl-d) inputs to determine whether to
|
||||||
send a SIGKILL event. Other charcters may also be selected.
|
send a SIGKILL event. Other charcters may also be selected.
|
||||||
|
|||||||
@@ -1371,6 +1371,8 @@ static int uart_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_SERIAL_SIGKILL_CHAR
|
#ifdef CONFIG_SERIAL_SIGKILL_CHAR
|
||||||
|
/* Make the given terminal the controlling terminal of the calling process */
|
||||||
|
|
||||||
case TIOCSCTTY:
|
case TIOCSCTTY:
|
||||||
{
|
{
|
||||||
/* REVISIT: This only applies to console devices (TTYs). In
|
/* REVISIT: This only applies to console devices (TTYs). In
|
||||||
|
|||||||
Reference in New Issue
Block a user