Android.mk revision 88db412ddca32cd2bb7d2c2a5926ef3fbc56e93e
1d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
2d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# Copyright (C) 2014 The Android Open Source Project
3d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
4d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# Licensed under the Apache License, Version 2.0 (the "License");
5d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# you may not use this file except in compliance with the License.
6d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# You may obtain a copy of the License at
7d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
8d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#      http://www.apache.org/licenses/LICENSE-2.0
9d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
10d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# Unless required by applicable law or agreed to in writing, software
11d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# distributed under the License is distributed on an "AS IS" BASIS,
12d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# See the License for the specific language governing permissions and
14d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# limitations under the License.
15d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
16d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
17d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott HughesLOCAL_PATH := $(call my-dir)
18d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
19d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
20d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# To update:
21d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
22d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
23d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git remote add toybox https://github.com/gfto/toybox.git
24d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git fetch toybox
25d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git merge toybox/master
26d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  mm -j32
27d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  # (Make any necessary Android.mk changes and test the new toybox.)
28d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git push aosp HEAD:master  # Push directly, avoiding gerrit.
29d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git push aosp HEAD:refs/for/master  # Push to gerrit.
30d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#
31d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  # Now commit any necessary Android.mk changes like normal:
32d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  repo start post-sync .
33d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes#  git commit -a
34d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
35d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
36d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughesinclude $(CLEAR_VARS)
37d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
38d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott HughesLOCAL_SRC_FILES := \
39d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/args.c \
40d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/dirtree.c \
41d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/getmountlist.c \
42d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/help.c \
43d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/lib.c \
44d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/llist.c \
45d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/net.c \
46d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/portability.c \
47d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lib/xwrap.c \
48d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    main.c \
49d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/dmesg.c \
50d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/hostname.c \
51d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/killall.c \
52d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/md5sum.c \
53d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/mknod.c \
54d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/mktemp.c \
55d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/mount.c \
56d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/pidof.c \
57d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/seq.c \
58d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/sync.c \
59d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/lsb/umount.c \
60d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/acpi.c \
61148622383ae45985d4b44de5a5dd3674a354e0ccElliott Hughes    toys/other/base64.c \
62d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/blkid.c \
63d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/blockdev.c \
64d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/bzcat.c \
65bf65a2e0c8cf53f35ba0ecb7cedc470d51315d94Elliott Hughes    toys/other/chcon.c \
66d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/chroot.c \
67d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/chvt.c \
68d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/clear.c \
69d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/dos2unix.c \
70d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/fallocate.c \
71d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/free.c \
72d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/freeramdisk.c \
73d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/fsfreeze.c \
74d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/help.c \
75d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/ifconfig.c \
76d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/inotifyd.c \
77d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/insmod.c \
78d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/losetup.c \
79d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/lsattr.c \
80d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/lsmod.c \
81d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/lspci.c \
82d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/lsusb.c \
83d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/makedevs.c \
84d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/mkswap.c \
85d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/modinfo.c \
86d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/mountpoint.c \
87d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/nbd_client.c \
88d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/netcat.c \
89d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/partprobe.c \
90d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/pivot_root.c \
91d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/pmap.c \
92d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/printenv.c \
93d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/pwdx.c \
94d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/readlink.c \
95d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/realpath.c \
96d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/rev.c \
97d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/rfkill.c \
98d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/rmmod.c \
99d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/setsid.c \
100d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/stat.c \
101d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/swapoff.c \
102d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/swapon.c \
103d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/switch_root.c \
104d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/sysctl.c \
105d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/tac.c \
106d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/taskset.c \
107d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/timeout.c \
108d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/truncate.c \
109d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/usleep.c \
110d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/vconfig.c \
111d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/vmstat.c \
112d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/which.c \
113d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/other/yes.c \
1143c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/dd.c \
11588db412ddca32cd2bb7d2c2a5926ef3fbc56e93eElliott Hughes    toys/pending/expr.c \
116f9551b31dc3cfd3816c40fcdb1121da6741c2be7Elliott Hughes    toys/pending/getenforce.c \
1179aaeff3e0283196b4ed3eaf6ced0f4b224ac24e2Elliott Hughes    toys/pending/hwclock.c \
11853a43da9b450261eba4490781c734cda29a75b09Elliott Hughes    toys/pending/more.c \
1193c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/ps.c \
1203c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/netstat.c \
1213c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/route.c \
122f9551b31dc3cfd3816c40fcdb1121da6741c2be7Elliott Hughes    toys/pending/setenforce.c \
12388db412ddca32cd2bb7d2c2a5926ef3fbc56e93eElliott Hughes    toys/pending/tar.c \
1243c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/top.c \
125347e42b7f7fe968710337ee4343c1412761f31cfElliott Hughes    toys/pending/tr.c \
1263c3e83a74c613a46c6120e1dc613f57035e1699dElliott Hughes    toys/pending/traceroute.c \
127d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/basename.c \
128d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cal.c \
129d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cat.c \
130d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/chgrp.c \
131d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/chmod.c \
132d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cksum.c \
133d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cmp.c \
134d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/comm.c \
135d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cp.c \
136bfa8d0633f4c2950d1efb6e65d47614d2c9b2179Elliott Hughes    toys/posix/cpio.c \
137d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/cut.c \
138d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/date.c \
139d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/df.c \
140d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/dirname.c \
141d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/du.c \
142d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/echo.c \
143d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/env.c \
144d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/expand.c \
145d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/false.c \
146d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/find.c \
147d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/grep.c \
148d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/head.c \
149d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/id.c \
150d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/kill.c \
151d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/ln.c \
152d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/ls.c \
153d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/mkdir.c \
154d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/mkfifo.c \
155d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/nice.c \
156d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/nl.c \
157d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/nohup.c \
158d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/od.c \
159d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/paste.c \
160d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/patch.c \
161d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/pwd.c \
162d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/renice.c \
163d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/rm.c \
164d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/rmdir.c \
165347e42b7f7fe968710337ee4343c1412761f31cfElliott Hughes    toys/posix/sed.c \
166d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/sleep.c \
167d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/sort.c \
168d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/split.c \
169d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/strings.c \
170d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/tail.c \
171d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/tee.c \
172d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/time.c \
173d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/touch.c \
174d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/true.c \
175d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/tty.c \
176d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/uname.c \
177d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/uniq.c \
178d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/wc.c \
179d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    toys/posix/xargs.c \
180d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
181d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott HughesLOCAL_CFLAGS += \
182d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    -Os \
183d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    -Wno-char-subscripts \
184d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    -Wno-sign-compare \
185d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    -Wno-uninitialized \
186d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    -Wno-unused-parameter \
187d353398914d251e9dd2e84a3bbe61ba3a834b511Elliott Hughes    -funsigned-char \
188d353398914d251e9dd2e84a3bbe61ba3a834b511Elliott Hughes    -ffunction-sections -fdata-sections \
189d353398914d251e9dd2e84a3bbe61ba3a834b511Elliott Hughes    -fno-asynchronous-unwind-tables \
190d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
191761156322f0c7d57a5860daf6b582b78a1d8c993Elliott HughesLOCAL_SHARED_LIBRARIES := libselinux
192761156322f0c7d57a5860daf6b582b78a1d8c993Elliott Hughes
193d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott HughesLOCAL_MODULE := toybox
194d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
1955eec03a13b5218715922f778f27e6e9596b7c244Elliott Hughes# dupes: dd df du ls mount renice umount
19679984b400ef6bcec74d1599c8a2f71f65ff1441eElliott Hughes# useless?: chvt freeramdisk fsfreeze install makedevs mkfifo nbd-client
197bf65a2e0c8cf53f35ba0ecb7cedc470d51315d94Elliott Hughes#           partprobe pivot_root pwdx rev rfkill switch_root tty vconfig
1985eec03a13b5218715922f778f27e6e9596b7c244Elliott Hughes# prefer BSD netcat instead?: nc netcat
199d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes# prefer efs2progs instead?: blkid chattr lsattr
200d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
201d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott HughesALL_TOOLS := \
202d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    acpi \
203d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    basename \
204d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    blockdev \
205d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    bzcat \
206d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    cal \
2071e0e5eab47a186b53d225727c4f2ed3f5e68f2d7Elliott Hughes    cat \
208761156322f0c7d57a5860daf6b582b78a1d8c993Elliott Hughes    chcon \
209d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    chgrp \
2105c7cca028966933d5d18b4de5c961b816ad5b3dfElliott Hughes    chmod \
2116ee70fc004112d422e7b2fb8706df9b385c88e30Elliott Hughes    chown \
212d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    chroot \
213d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    cksum \
21403275a865cd0481a74d09951295455c6e706e085Elliott Hughes    clear \
215d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    comm \
216d353398914d251e9dd2e84a3bbe61ba3a834b511Elliott Hughes    cmp \
2176b4d05c1dccaef7415dd17ae939e291b3f85cc50Elliott Hughes    cp \
218bfa8d0633f4c2950d1efb6e65d47614d2c9b2179Elliott Hughes    cpio \
219d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    cut \
2209aaeff3e0283196b4ed3eaf6ced0f4b224ac24e2Elliott Hughes    date \
221d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    dirname \
222c99e20b967d0786c330310bec95715db76b6e2e2Elliott Hughes    dmesg \
223d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    dos2unix \
224d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    echo \
225d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    env \
226d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    expand \
22788db412ddca32cd2bb7d2c2a5926ef3fbc56e93eElliott Hughes    expr \
228d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    fallocate \
22903275a865cd0481a74d09951295455c6e706e085Elliott Hughes    false \
230d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    find \
231d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    free \
2329250c95a8c471981e2ba1aedb401a75f42e1293bElliott Hughes    getenforce \
233d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    groups \
234d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    head \
235d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    hostname \
2369aaeff3e0283196b4ed3eaf6ced0f4b224ac24e2Elliott Hughes    hwclock \
237c8fa5ee959bc35d728e8ff39f84abb085c92d235Elliott Hughes    id \
2384f060a32b287fbb945e55b4a83d311eafde2764dElliott Hughes    ifconfig \
239123aecf242ba8d732653904e7fe256bd58d4677fElliott Hughes    inotifyd \
2406a646ef606d959342614cd7a54aa44b1d592f596Elliott Hughes    insmod \
24195211ea79a02f3b40bcfcb0e65056e65894121e2Elliott Hughes    kill \
242d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    killall \
243d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    ln \
244d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    logname \
245d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    losetup \
2466a646ef606d959342614cd7a54aa44b1d592f596Elliott Hughes    lsmod \
247d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lspci \
248d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    lsusb \
249d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    md5sum \
250d13bf6a7b53157c721bd381cc6e0b5c2ab30119cElliott Hughes    mkdir \
2510a0435c394fead623eac1495d1c4148d92bd4ae1Elliott Hughes    mknod \
252620bc1a345c5f8ce4ef2e58599199a7361590d28Elliott Hughes    mkswap \
25379984b400ef6bcec74d1599c8a2f71f65ff1441eElliott Hughes    mktemp \
254d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    modinfo \
25553a43da9b450261eba4490781c734cda29a75b09Elliott Hughes    more \
256d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    mountpoint \
257dbcacc6f01ed3c4a7eafc0ef34db4e7b35cdd2cdElliott Hughes    mv \
2585f9893b6b218710ba22fbdd3e0adc51e644b369aElliott Hughes    netstat \
259d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    nice \
260d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    nl \
2619f9894131c5914ed75a02f839c1698f654940ca6Elliott Hughes    nohup \
262d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    od \
263d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    paste \
264d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    patch \
265d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    pidof \
266d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    pmap \
26768e18cd5aa4a3a319a4b3b5f23384c6841f54067Elliott Hughes    printenv \
268d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    pwd \
2698f7bc7a63b419318928c66ed936b828607ab8668Elliott Hughes    readlink \
270d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    realpath \
271f5275f9e2b9bd2d5fd95a17e0c1165503193985dElliott Hughes    rm \
272d4a6d66e84b5c47bdd5ac53b55a559191f2300d9Elliott Hughes    rmdir \
2736a646ef606d959342614cd7a54aa44b1d592f596Elliott Hughes    rmmod \
274347e42b7f7fe968710337ee4343c1412761f31cfElliott Hughes    sed \
275d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    seq \
2769250c95a8c471981e2ba1aedb401a75f42e1293bElliott Hughes    setenforce \
277d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    setsid \
278d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    sha1sum \
27962cf8d653994ffae64d39873eb5d6e0901a1c9b5Elliott Hughes    sleep \
280d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    sort \
281d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    split \
282d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    stat \
283d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    strings \
284620bc1a345c5f8ce4ef2e58599199a7361590d28Elliott Hughes    swapoff \
285620bc1a345c5f8ce4ef2e58599199a7361590d28Elliott Hughes    swapon \
28685368288de25655a3c3ee065238c652d702e091aElliott Hughes    sync \
287d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    sysctl \
288d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    tac \
289d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    tail \
29088db412ddca32cd2bb7d2c2a5926ef3fbc56e93eElliott Hughes    tar \
291d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    taskset \
292d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    tee \
293d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    time \
294d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    timeout \
2955eec03a13b5218715922f778f27e6e9596b7c244Elliott Hughes    touch \
296347e42b7f7fe968710337ee4343c1412761f31cfElliott Hughes    tr \
29703275a865cd0481a74d09951295455c6e706e085Elliott Hughes    true \
298d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    truncate \
299d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    uname \
300d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    uniq \
301d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    unix2dos \
30210bd49ec5e24231eb94746e601349f1d5a3c0658Elliott Hughes    usleep \
3032080060f8e4a053b13bc11b44928a85f48172ec5Elliott Hughes    vmstat \
304d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    wc \
305d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    which \
306d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    whoami \
307d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    xargs \
308d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes    yes \
309d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
310331b22de00b1dd749169f84ccf92c77f0036dfc8Ying Wang# Install the symlinks.
311331b22de00b1dd749169f84ccf92c77f0036dfc8Ying WangLOCAL_POST_INSTALL_CMD := $(hide) $(foreach t,$(ALL_TOOLS),ln -sf toybox $(TARGET_OUT)/bin/$(t);)
312d8d2d3c44e552f4e53708db5ea60a7f91a382c0fElliott Hughes
313331b22de00b1dd749169f84ccf92c77f0036dfc8Ying Wanginclude $(BUILD_EXECUTABLE)
314