From e4070cb0d7586037c6fcf0f0f00d8d5b97f649d3 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 4 Jun 2010 19:59:49 +0200 Subject: partially migrate coreutils to Config.src and Kbuild.src Signed-off-by: Denys Vlasenko --- coreutils/basename.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'coreutils/basename.c') diff --git a/coreutils/basename.c b/coreutils/basename.c index 8a5597e65..f35bdf08e 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! */ -- cgit v1.2.3