summaryrefslogtreecommitdiffhomepage
path: root/procps/Kbuild.src
diff options
context:
space:
mode:
authorKang-Che Sung <explorer09@gmail.com>2017-01-09 18:46:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-01-09 18:46:58 +0100
commit61a91af63dbc91f85058efda5c542dfc859ab1be (patch)
tree1a6949fa3f5cf55a9ea1989ff3763a326d1821b4 /procps/Kbuild.src
parent1cc6804f6980d2732df97f15933c93d34041dd83 (diff)
kill: optimizations for single-applet build
* Fix a bug with a configuration in which the shell's kill builtin would be mistreated as a killall command (i.e. '-q' works, and 'kill process_name' succeeds when it shouldn't): CONFIG_ASH_JOB_CONTROL=y CONFIG_HUSH_KILL=y # CONFIG_KILL is not set CONFIG_KILLALL=y # CONFIG_KILLALL5 is not set * Optimize out unneeded code when the relevant applets are not selected. * Move kbuild lines about shells' kill builtins from Kbuild.src to kill.c, to accompany the new HAVE_SH_KILL macro. I hope this would make maintanence a little bit easier. Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps/Kbuild.src')
-rw-r--r--procps/Kbuild.src3
1 files changed, 0 insertions, 3 deletions
diff --git a/procps/Kbuild.src b/procps/Kbuild.src
index dedef8881..6b4fb7470 100644
--- a/procps/Kbuild.src
+++ b/procps/Kbuild.src
@@ -7,6 +7,3 @@
lib-y:=
INSERT
-
-lib-$(CONFIG_ASH_JOB_CONTROL) += kill.o # used for built-in kill by ash
-lib-$(CONFIG_HUSH_KILL) += kill.o # used for built-in kill by hush