Make uncompress a seperate applet so it doesnt pull in all the gunzip code
This commit is contained in:
@ -515,10 +515,8 @@
|
||||
#ifdef CONFIG_UNAME
|
||||
APPLET(uname, uname_main, _BB_DIR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_GUNZIP
|
||||
# ifdef CONFIG_FEATURE_UNCOMPRESS
|
||||
APPLET_ODDNAME("uncompress", gunzip_main, _BB_DIR_BIN, _BB_SUID_NEVER, gunzip)
|
||||
# endif
|
||||
#ifdef CONFIG_UNCOMPRESS
|
||||
APPLET(uncompress, uncompress_main, _BB_DIR_BIN, _BB_SUID_NEVER)
|
||||
#endif
|
||||
#ifdef CONFIG_UNIQ
|
||||
APPLET(uniq, uniq_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
|
||||
|
@ -2032,6 +2032,14 @@
|
||||
"$ uname -a\n" \
|
||||
"Linux debian 2.2.15pre13 #5 Tue Mar 14 16:03:50 MST 2000 i686 unknown\n"
|
||||
|
||||
#define uncompress_trivial_usage \
|
||||
"[-c] [-f] [ name ... ]"
|
||||
#define uncompress_full_usage \
|
||||
"Uncompress .Z file[s]\n" \
|
||||
"Options:\n" \
|
||||
"\t-c\textract to stdout\n" \
|
||||
"\t-f\tforce overwrite an existing file\n"
|
||||
|
||||
#define uniq_trivial_usage \
|
||||
"[OPTION]... [INPUT [OUTPUT]]"
|
||||
#define uniq_full_usage \
|
||||
|
Reference in New Issue
Block a user