aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
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 d4c9e0541..780b73fda 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 c737f09f3..cb41724af 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: