aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:46:54 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2022-06-15 21:46:54 +0000
commite04f5c293b601922b14d74d38e35d23db0e85435 (patch)
treeb35023430b0f74f46adc73b8a27b0622f7f51359 /Android.bp
parent888c61cdb26c1c115e215bfde81f060c75691edb (diff)
parent9f54fe5a3b9a93d723e320ec5e5413f55ea0e7aa (diff)
downloadtoybox-aml_tz3_314012050.tar.gz
Change-Id: I4733dd9017e5e502f0bf5114a0a7dd4d4f00e21d
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp17
1 files changed, 9 insertions, 8 deletions
diff --git a/Android.bp b/Android.bp
index a8e74913..3beb024a 100644
--- a/Android.bp
+++ b/Android.bp
@@ -57,12 +57,13 @@ all_srcs = [
"lib/commas.c",
"lib/dirtree.c",
"lib/env.c",
+ "lib/help.c",
"lib/lib.c",
+ "lib/linestack.c",
"lib/llist.c",
"lib/net.c",
"lib/portability.c",
"lib/tty.c",
- "lib/utf8.c",
"lib/xwrap.c",
"main.c",
"toys/lsb/gzip.c",
@@ -181,6 +182,7 @@ device_srcs = [
"toys/other/losetup.c",
"toys/other/lsattr.c",
"toys/other/lsmod.c",
+ "toys/other/lspci.c",
"toys/other/lsusb.c",
"toys/other/makedevs.c",
"toys/other/mkswap.c",
@@ -193,7 +195,6 @@ device_srcs = [
"toys/other/pmap.c",
"toys/other/printenv.c",
"toys/other/pwdx.c",
- "toys/other/readelf.c",
"toys/other/rev.c",
"toys/other/rmmod.c",
"toys/other/rtcwake.c",
@@ -202,7 +203,6 @@ device_srcs = [
"toys/other/swapon.c",
"toys/other/sysctl.c",
"toys/other/tac.c",
- "toys/other/uclampset.c",
"toys/other/uptime.c",
"toys/other/usleep.c",
"toys/other/uuidgen.c",
@@ -213,6 +213,7 @@ device_srcs = [
"toys/pending/lsof.c",
"toys/pending/modprobe.c",
"toys/pending/more.c",
+ "toys/pending/readelf.c",
"toys/pending/stty.c",
"toys/pending/traceroute.c",
"toys/pending/vi.c",
@@ -393,7 +394,6 @@ toybox_symlinks = [
"true",
"truncate",
"tty",
- "uclampset",
"ulimit",
"umount",
"uname",
@@ -441,7 +441,11 @@ cc_defaults {
],
target: {
- host_linux: {
+ linux_glibc: {
+ local_include_dirs: ["android/linux"],
+ },
+
+ linux_bionic: {
local_include_dirs: ["android/linux"],
},
@@ -458,9 +462,6 @@ cc_defaults {
// also getting from <sys/param.h>.
"-Wno-macro-redefined",
],
- ldflags: [
- "-Wl,-dead_strip",
- ],
},
linux: {