diff options
author | Denys Vlasenko | 2017-01-10 15:13:30 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-10 15:13:30 +0100 |
commit | 265062d59dd46065ad34519f04615fb2cecefe8a (patch) | |
tree | 6f5d8a3f87a9718b06dca325554410a3337f5b0f /coreutils/echo.c | |
parent | f560422fa079b07a761a572ca4f9cf287c2cc47e (diff) | |
download | busybox-265062d59dd46065ad34519f04615fb2cecefe8a.zip busybox-265062d59dd46065ad34519f04615fb2cecefe8a.tar.gz |
shells: make hush test optional, rename ASH_BUILTIN_foo -> ASH_foo
This makes hash and ash more symmetrical wrt config menu and config
options.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/echo.c')
-rw-r--r-- | coreutils/echo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c index d0dba65..a7e4ca9 100644 --- a/coreutils/echo.c +++ b/coreutils/echo.c @@ -28,12 +28,15 @@ //config:config FEATURE_FANCY_ECHO //config: bool "Enable -n and -e options" //config: default y -//config: depends on ECHO || ASH_BUILTIN_ECHO || HUSH_ECHO +//config: depends on ECHO || ASH_ECHO || HUSH_ECHO //applet:IF_ECHO(APPLET_NOFORK(echo, echo, BB_DIR_BIN, BB_SUID_DROP, echo)) //kbuild:lib-$(CONFIG_ECHO) += echo.o +//kbuild:lib-$(CONFIG_ASH_ECHO) += echo.o +//kbuild:lib-$(CONFIG_HUSH_ECHO) += echo.o + /* BB_AUDIT SUSv3 compliant -- unless configured as fancy echo. */ /* http://www.opengroup.org/onlinepubs/007904975/utilities/echo.html */ |