diff options
author | Denys Vlasenko | 2017-01-09 17:10:04 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-09 17:10:04 +0100 |
commit | 1cc6804f6980d2732df97f15933c93d34041dd83 (patch) | |
tree | 4a8c43e645df9271c2bb3a6019cab65f1ff7a8ad /coreutils | |
parent | 53487a8d221d9568b6d2ea81e729456b084dcdf9 (diff) | |
download | busybox-1cc6804f6980d2732df97f15933c93d34041dd83.zip busybox-1cc6804f6980d2732df97f15933c93d34041dd83.tar.gz |
hush: make echo builtin optional
It's a bit overkill (who would want it off?) but ash already has it
configurable. Let's be symmetric.
Also tweak kbuild logic to use ASH_BUILTIN_ECHO to select echo.o,
not ASH.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/Kbuild.src | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/coreutils/Kbuild.src b/coreutils/Kbuild.src index 9ac6b9e..d0b3f62 100644 --- a/coreutils/Kbuild.src +++ b/coreutils/Kbuild.src @@ -14,15 +14,11 @@ lib-$(CONFIG_MORE) += cat.o # more uses it if stdout isn't a tty lib-$(CONFIG_LESS) += cat.o # less too lib-$(CONFIG_CRONTAB) += cat.o # crontab -l lib-$(CONFIG_ADDUSER) += chown.o # used by adduser -lib-$(CONFIG_ADDGROUP) += chown.o # used by adduser +lib-$(CONFIG_ADDGROUP) += chown.o # used by addgroup lib-$(CONFIG_FTPD) += ls.o # used by ftpd -lib-$(CONFIG_ASH) += echo.o # used by ash -lib-$(CONFIG_SH_IS_ASH) += echo.o # used by ash -lib-$(CONFIG_BASH_IS_ASH) += echo.o # used by ash -lib-$(CONFIG_HUSH) += echo.o # used by hush -lib-$(CONFIG_SH_IS_HUSH) += echo.o # used by hush -lib-$(CONFIG_BASH_IS_HUSH) += echo.o # used by hush +lib-$(CONFIG_ASH_BUILTIN_ECHO) += echo.o +lib-$(CONFIG_HUSH_ECHO) += echo.o lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o -lib-$(CONFIG_HUSH_PRINTF) += printf.o +lib-$(CONFIG_HUSH_PRINTF) += printf.o |