partially migrate coreutils to Config.src and Kbuild.src

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2010-06-04 19:59:49 +02:00
parent 6db1373295
commit e4070cb0d7
7 changed files with 114 additions and 104 deletions

View File

@@ -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! */