summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorJeremie Koenig2010-07-19 00:44:56 +0200
committerDenys Vlasenko2010-07-19 00:44:56 +0200
commit1d7266d3b59be361763dab61f680103bbb70f3e9 (patch)
tree631f533af2f9ceb9ba8d5cfcc978a3c33a0393cc /coreutils
parentb175462422f02a159a14dc5561d8bef6f84b2b66 (diff)
downloadbusybox-1d7266d3b59be361763dab61f680103bbb70f3e9.zip
busybox-1d7266d3b59be361763dab61f680103bbb70f3e9.tar.gz
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>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/Config.src2
-rw-r--r--coreutils/date.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/coreutils/Config.src b/coreutils/Config.src
index d4c9e05..780b73f 100644
--- a/coreutils/Config.src
+++ b/coreutils/Config.src
@@ -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.
diff --git a/coreutils/date.c b/coreutils/date.c
index c737f09..cb41724 100644
--- a/coreutils/date.c
+++ b/coreutils/date.c
@@ -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: