From 1d7266d3b59be361763dab61f680103bbb70f3e9 Mon Sep 17 00:00:00 2001 From: Jeremie Koenig Date: Mon, 19 Jul 2010 00:44:56 +0200 Subject: 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 Signed-off-by: Denys Vlasenko --- coreutils/Config.src | 2 ++ coreutils/date.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'coreutils') 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: -- cgit v1.2.3