mark Linux-specific configuration options
PLATFORM_LINUX is used as a dependency for applets or features which require Linux-specific interfaces. Signed-off-by: Jeremie Koenig <jk@jk.fr.eu.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
committed by
Denys Vlasenko
parent
b175462422
commit
1d7266d3b5
@@ -591,6 +591,7 @@ config FEATURE_SPLIT_FANCY
|
||||
config STAT
|
||||
bool "stat"
|
||||
default y
|
||||
depends on PLATFORM_LINUX # statfs()
|
||||
help
|
||||
display file or filesystem status.
|
||||
|
||||
@@ -606,6 +607,7 @@ config FEATURE_STAT_FORMAT
|
||||
config STTY
|
||||
bool "stty"
|
||||
default y
|
||||
depends on PLATFORM_LINUX
|
||||
help
|
||||
stty is used to change and print terminal line settings.
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
//config:config FEATURE_DATE_NANO
|
||||
//config: bool "Support %[num]N nanosecond format specifier"
|
||||
//config: default n
|
||||
//config: depends on DATE
|
||||
//config: depends on DATE && PLATFORM_LINUX # syscall(__NR_clock_gettime)
|
||||
//config: help
|
||||
//config: Support %[num]N format specifier. Adds ~250 bytes of code.
|
||||
//config:
|
||||
|
||||
Reference in New Issue
Block a user