summaryrefslogtreecommitdiff
path: root/coreutils/basename.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/basename.c')
-rw-r--r--coreutils/basename.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/coreutils/basename.c b/coreutils/basename.c
index 8a5597e..f35bdf0 100644
--- a/coreutils/basename.c
+++ b/coreutils/basename.c
@@ -20,6 +20,16 @@
* 3) Save some space by using strcmp(). Calling strncmp() here was silly.
*/
+//kbuild:lib-$(CONFIG_BASENAME) += basename.o
+
+//config:config BASENAME
+//config: bool "basename"
+//config: default n
+//config: help
+//config: basename is used to strip the directory and suffix from filenames,
+//config: leaving just the filename itself. Enable this option if you wish
+//config: to enable the 'basename' utility.
+
#include "libbb.h"
/* This is a NOFORK applet. Be very careful! */