Stop building obsolete cpio, killall5, link, and unlink.

Change-Id: Id3190e1f793ebecd18fbe950c49f83ab1cccc4f3
This commit is contained in:
Elliott Hughes 2014-12-16 15:48:40 -08:00
parent d4a6d66e84
commit baf5adf64f
4 changed files with 31 additions and 35 deletions

10
.config
View File

@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# ToyBox version: KCONFIG_VERSION
# Tue Dec 16 09:08:45 2014
# Tue Dec 16 15:46:21 2014
#
CONFIG_TOYBOX_CONTAINER=y
CONFIG_TOYBOX_FIFREEZE=y
@ -27,7 +27,7 @@ CONFIG_CP_MORE=y
CONFIG_CP_MV=y
CONFIG_CP_MV_MORE=y
CONFIG_INSTALL=y
CONFIG_CPIO=y
# CONFIG_CPIO is not set
CONFIG_CUT=y
CONFIG_DATE=y
CONFIG_DF=y
@ -45,8 +45,8 @@ CONFIG_GROUPS=y
CONFIG_LOGNAME=y
CONFIG_WHOAMI=y
CONFIG_KILL=y
CONFIG_KILLALL5=y
CONFIG_LINK=y
# CONFIG_KILLALL5 is not set
# CONFIG_LINK is not set
CONFIG_LN=y
CONFIG_LS=y
CONFIG_LS_COLOR=y
@ -78,7 +78,7 @@ CONFIG_TRUE=y
CONFIG_TTY=y
CONFIG_UNAME=y
CONFIG_UNIQ=y
CONFIG_UNLINK=y
# CONFIG_UNLINK is not set
CONFIG_UUDECODE=y
CONFIG_UUENCODE=y
CONFIG_WC=y

View File

@ -126,7 +126,6 @@ LOCAL_SRC_FILES := \
toys/posix/cmp.c \
toys/posix/comm.c \
toys/posix/cp.c \
toys/posix/cpio.c \
toys/posix/cut.c \
toys/posix/date.c \
toys/posix/df.c \
@ -141,7 +140,6 @@ LOCAL_SRC_FILES := \
toys/posix/head.c \
toys/posix/id.c \
toys/posix/kill.c \
toys/posix/link.c \
toys/posix/ln.c \
toys/posix/ls.c \
toys/posix/mkdir.c \
@ -168,7 +166,6 @@ LOCAL_SRC_FILES := \
toys/posix/tty.c \
toys/posix/uname.c \
toys/posix/uniq.c \
toys/posix/unlink.c \
toys/posix/uudecode.c \
toys/posix/uuencode.c \
toys/posix/wc.c \
@ -189,7 +186,6 @@ LOCAL_MODULE := toybox
# dupes: cat chown cmp cp date df du grep id ifconfig ls
# mount mv nc netcat notify(inotifyd) renice rm
# touch umount
# obsolete?: cpio killall5 link unlink
# non-Linux: count freeramdisk fstype nbd-client oneit vconfig
# useless?: chvt fsfreeze install makedevs mkfifo mktemp partprobe pivot_root pwdx rev
# rfkill switch_root tty unshare

View File

@ -38,8 +38,8 @@
#define USE_CP_MV_MORE(...) __VA_ARGS__
#define CFG_INSTALL 1
#define USE_INSTALL(...) __VA_ARGS__
#define CFG_CPIO 1
#define USE_CPIO(...) __VA_ARGS__
#define CFG_CPIO 0
#define USE_CPIO(...)
#define CFG_CUT 1
#define USE_CUT(...) __VA_ARGS__
#define CFG_DATE 1
@ -74,10 +74,10 @@
#define USE_WHOAMI(...) __VA_ARGS__
#define CFG_KILL 1
#define USE_KILL(...) __VA_ARGS__
#define CFG_KILLALL5 1
#define USE_KILLALL5(...) __VA_ARGS__
#define CFG_LINK 1
#define USE_LINK(...) __VA_ARGS__
#define CFG_KILLALL5 0
#define USE_KILLALL5(...)
#define CFG_LINK 0
#define USE_LINK(...)
#define CFG_LN 1
#define USE_LN(...) __VA_ARGS__
#define CFG_LS 1
@ -140,8 +140,8 @@
#define USE_UNAME(...) __VA_ARGS__
#define CFG_UNIQ 1
#define USE_UNIQ(...) __VA_ARGS__
#define CFG_UNLINK 1
#define USE_UNLINK(...) __VA_ARGS__
#define CFG_UNLINK 0
#define USE_UNLINK(...)
#define CFG_UUDECODE 1
#define USE_UUDECODE(...) __VA_ARGS__
#define CFG_UUENCODE 1

View File

@ -239,7 +239,7 @@
#undef FLAG_R
#endif
// cpio mduH:p:|i|t|F:v(verbose)o|[!pio][!pot][!pF] mduH:p:|i|t|F:v(verbose)o|[!pio][!pot][!pF]
// cpio mduH:p:|i|t|F:v(verbose)o|[!pio][!pot][!pF]
#ifdef CLEANUP_cpio
#undef CLEANUP_cpio
#undef FOR_cpio
@ -855,7 +855,7 @@
#undef FLAG_s
#endif
// killall5 ?o*ls: [!lo][!ls] ?o*ls: [!lo][!ls]
// killall5 ?o*ls: [!lo][!ls]
#ifdef CLEANUP_killall5
#undef CLEANUP_killall5
#undef FOR_killall5
@ -880,7 +880,7 @@
#undef FLAG_f
#endif
// link <2>2 <2>2
// link <2>2
#ifdef CLEANUP_link
#undef CLEANUP_link
#undef FOR_link
@ -1962,7 +1962,7 @@
#undef FLAG_f
#endif
// unlink <1>1 <1>1
// unlink <1>1
#ifdef CLEANUP_unlink
#undef CLEANUP_unlink
#undef FOR_unlink
@ -2358,17 +2358,17 @@
#ifndef TT
#define TT this.cpio
#endif
#define FLAG_o (1<<0)
#define FLAG_verbose (1<<1)
#define FLAG_v (1<<1)
#define FLAG_F (1<<2)
#define FLAG_t (1<<3)
#define FLAG_i (1<<4)
#define FLAG_p (1<<5)
#define FLAG_H (1<<6)
#define FLAG_u (1<<7)
#define FLAG_d (1<<8)
#define FLAG_m (1<<9)
#define FLAG_o 0
#define FLAG_verbose 0
#define FLAG_v 0
#define FLAG_F 0
#define FLAG_t 0
#define FLAG_i 0
#define FLAG_p 0
#define FLAG_H 0
#define FLAG_u 0
#define FLAG_d 0
#define FLAG_m 0
#endif
#ifdef FOR_crond
@ -2974,9 +2974,9 @@
#ifndef TT
#define TT this.killall5
#endif
#define FLAG_s (1<<0)
#define FLAG_l (1<<1)
#define FLAG_o (1<<2)
#define FLAG_s 0
#define FLAG_l 0
#define FLAG_o 0
#endif
#ifdef FOR_klogd