X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=Android.mk;h=5cddd91481790d0f22bec8bedf33e001348a3dff;hb=75681dca17;hp=8833d2ef4c83b22d8f1fe6beadd972554cd4d136;hpb=87bfced0f861312fd9ee9895aef9ac77aa72f6be;p=android-x86%2Fexternal-toybox.git diff --git a/Android.mk b/Android.mk index 8833d2ef..5cddd914 100644 --- a/Android.mk +++ b/Android.mk @@ -38,8 +38,7 @@ LOCAL_PATH := $(call my-dir) # To add a toy: # -# make menuconfig -# # (Select the toy you want to add.) +# Edit .config to enable the toy you want to add. # make clean && make # Regenerate the generated files. # # Edit LOCAL_SRC_FILES below to add the toy. # # If you just want to use it as "toybox x" rather than "x", you can stop now. @@ -63,10 +62,13 @@ LOCAL_SRC_FILES := \ toys/android/getenforce.c \ toys/android/getprop.c \ toys/android/load_policy.c \ + toys/android/log.c \ toys/android/restorecon.c \ toys/android/runcon.c \ + toys/android/sendevent.c \ toys/android/setenforce.c \ toys/android/setprop.c \ + toys/android/start.c \ toys/lsb/dmesg.c \ toys/lsb/hostname.c \ toys/lsb/killall.c \ @@ -78,6 +80,10 @@ LOCAL_SRC_FILES := \ toys/lsb/seq.c \ toys/lsb/sync.c \ toys/lsb/umount.c \ + toys/net/ifconfig.c \ + toys/net/netcat.c \ + toys/net/netstat.c \ + toys/net/rfkill.c \ toys/other/acpi.c \ toys/other/base64.c \ toys/other/blkid.c \ @@ -94,7 +100,6 @@ LOCAL_SRC_FILES := \ toys/other/fsfreeze.c \ toys/other/help.c \ toys/other/hwclock.c \ - toys/other/ifconfig.c \ toys/other/inotifyd.c \ toys/other/insmod.c \ toys/other/ionice.c \ @@ -107,7 +112,6 @@ LOCAL_SRC_FILES := \ toys/other/modinfo.c \ toys/other/mountpoint.c \ toys/other/nbd_client.c \ - toys/other/netcat.c \ toys/other/partprobe.c \ toys/other/pivot_root.c \ toys/other/pmap.c \ @@ -116,7 +120,6 @@ LOCAL_SRC_FILES := \ toys/other/readlink.c \ toys/other/realpath.c \ toys/other/rev.c \ - toys/other/rfkill.c \ toys/other/rmmod.c \ toys/other/setsid.c \ toys/other/stat.c \ @@ -138,8 +141,6 @@ LOCAL_SRC_FILES := \ toys/pending/expr.c \ toys/pending/lsof.c \ toys/pending/more.c \ - toys/pending/netstat.c \ - toys/pending/route.c \ toys/pending/tar.c \ toys/pending/tr.c \ toys/pending/traceroute.c \ @@ -162,6 +163,7 @@ LOCAL_SRC_FILES := \ toys/posix/env.c \ toys/posix/expand.c \ toys/posix/false.c \ + toys/posix/file.c \ toys/posix/find.c \ toys/posix/grep.c \ toys/posix/head.c \ @@ -220,7 +222,7 @@ LOCAL_CFLAGS += -DTOYBOX_VERSION='"$(toybox_version)"' LOCAL_CLANG := true -LOCAL_SHARED_LIBRARIES := libcutils libselinux +LOCAL_SHARED_LIBRARIES := libcutils libselinux libcrypto # This doesn't actually prevent us from dragging in libc++ at runtime # because libnetd_client.so is C++. @@ -266,6 +268,7 @@ ALL_TOOLS := \ expr \ fallocate \ false \ + file \ find \ flock \ free \ @@ -285,6 +288,7 @@ ALL_TOOLS := \ killall \ load_policy \ ln \ + log \ logname \ losetup \ ls \ @@ -325,6 +329,7 @@ ALL_TOOLS := \ rmmod \ runcon \ sed \ + sendevent \ seq \ setenforce \ setprop \ @@ -333,7 +338,9 @@ ALL_TOOLS := \ sleep \ sort \ split \ + start \ stat \ + stop \ strings \ swapoff \ swapon \ @@ -346,6 +353,7 @@ ALL_TOOLS := \ tee \ time \ timeout \ + top \ touch \ tr \ true \