diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-09 17:10:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-09 17:10:04 +0100 |
commit | 1cc6804f6980d2732df97f15933c93d34041dd83 (patch) | |
tree | 4a8c43e645df9271c2bb3a6019cab65f1ff7a8ad /coreutils | |
parent | 53487a8d221d9568b6d2ea81e729456b084dcdf9 (diff) | |
download | busybox-w32-1cc6804f6980d2732df97f15933c93d34041dd83.tar.gz busybox-w32-1cc6804f6980d2732df97f15933c93d34041dd83.tar.bz2 busybox-w32-1cc6804f6980d2732df97f15933c93d34041dd83.zip |
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 9ac6b9e78..d0b3f629b 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 | |||
14 | lib-$(CONFIG_LESS) += cat.o # less too | 14 | lib-$(CONFIG_LESS) += cat.o # less too |
15 | lib-$(CONFIG_CRONTAB) += cat.o # crontab -l | 15 | lib-$(CONFIG_CRONTAB) += cat.o # crontab -l |
16 | lib-$(CONFIG_ADDUSER) += chown.o # used by adduser | 16 | lib-$(CONFIG_ADDUSER) += chown.o # used by adduser |
17 | lib-$(CONFIG_ADDGROUP) += chown.o # used by adduser | 17 | lib-$(CONFIG_ADDGROUP) += chown.o # used by addgroup |
18 | lib-$(CONFIG_FTPD) += ls.o # used by ftpd | 18 | lib-$(CONFIG_FTPD) += ls.o # used by ftpd |
19 | 19 | ||
20 | lib-$(CONFIG_ASH) += echo.o # used by ash | 20 | lib-$(CONFIG_ASH_BUILTIN_ECHO) += echo.o |
21 | lib-$(CONFIG_SH_IS_ASH) += echo.o # used by ash | 21 | lib-$(CONFIG_HUSH_ECHO) += echo.o |
22 | lib-$(CONFIG_BASH_IS_ASH) += echo.o # used by ash | ||
23 | lib-$(CONFIG_HUSH) += echo.o # used by hush | ||
24 | lib-$(CONFIG_SH_IS_HUSH) += echo.o # used by hush | ||
25 | lib-$(CONFIG_BASH_IS_HUSH) += echo.o # used by hush | ||
26 | 22 | ||
27 | lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o | 23 | lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o |
28 | lib-$(CONFIG_HUSH_PRINTF) += printf.o | 24 | lib-$(CONFIG_HUSH_PRINTF) += printf.o |