aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/debug/duma.in1
-rw-r--r--config/debug/gdb.in.native1
-rw-r--r--config/debug/ltrace.in1
-rw-r--r--config/debug/strace.in2
-rw-r--r--config/libc/bionic.in127
-rw-r--r--packages/android-ndk/package.desc6
-rw-r--r--packages/android-ndk/r14b/chksum4
-rw-r--r--packages/android-ndk/r14b/version.desc0
-rw-r--r--packages/android-ndk/r15c/chksum4
-rw-r--r--packages/android-ndk/r15c/version.desc0
-rw-r--r--packages/android-ndk/r16b/chksum4
-rw-r--r--packages/android-ndk/r16b/version.desc0
-rw-r--r--packages/android-ndk/r17c/chksum4
-rw-r--r--packages/android-ndk/r17c/version.desc0
-rw-r--r--packages/android-ndk/r18/DO_NOT_IMPORT2
-rw-r--r--samples/aarch64-unknown-linux-android/crosstool.config11
-rw-r--r--samples/aarch64-unknown-linux-android/reported.by3
-rw-r--r--scripts/build/arch/arm.sh1
-rw-r--r--scripts/build/libc/bionic.sh34
-rw-r--r--scripts/functions1
20 files changed, 0 insertions, 206 deletions
diff --git a/config/debug/duma.in b/config/debug/duma.in
index bc69e17f..946ddb16 100644
--- a/config/debug/duma.in
+++ b/config/debug/duma.in
@@ -1,7 +1,6 @@
# D.U.M.A. - Detect Unintended Memory Access - Memory checker
## depends on ! BARE_METAL
-## depends on ! LIBC_BIONIC
## help D.U.M.A. - Detect Unintended Memory Access
## help A memory bound checker, with additional features.
diff --git a/config/debug/gdb.in.native b/config/debug/gdb.in.native
index fc79084d..99057af0 100644
--- a/config/debug/gdb.in.native
+++ b/config/debug/gdb.in.native
@@ -4,7 +4,6 @@ config GDB_NATIVE
bool
prompt "Native gdb"
depends on ! BARE_METAL
- depends on ! LIBC_BIONIC
depends on CC_LANG_CXX || !GDB_8_0_or_later
select LIBC_UCLIBC_WCHAR if LIBC_UCLIBC_NG && GDB_8_0_or_later
select LIBC_UCLIBC_IPV6 if LIBC_UCLIBC_NG && GDB_8_3_or_later
diff --git a/config/debug/ltrace.in b/config/debug/ltrace.in
index 75bdf4f5..61f5531d 100644
--- a/config/debug/ltrace.in
+++ b/config/debug/ltrace.in
@@ -1,7 +1,6 @@
# ltrace
## select LIBELF_TARGET
-## depends on ! LIBC_BIONIC
##
## help ltrace is a program that simply runs the specified command until it exits.
## help It intercepts and records the dynamic library calls which are called by
diff --git a/config/debug/strace.in b/config/debug/strace.in
index 6f335b2b..deb8562a 100644
--- a/config/debug/strace.in
+++ b/config/debug/strace.in
@@ -1,3 +1 @@
# strace
-
-## depends on ! LIBC_BIONIC
diff --git a/config/libc/bionic.in b/config/libc/bionic.in
deleted file mode 100644
index b8b889c6..00000000
--- a/config/libc/bionic.in
+++ /dev/null
@@ -1,127 +0,0 @@
-# bionic options
-
-
-## package android-ndk
-## depends on ! WINDOWS && ! BARE_METAL
-## depends on ARCH_ARM || ARCH_MIPS || ARCH_X86
-## depends on EXPERIMENTAL
-## depends on OBSOLETE
-#
-# Patches to support bionic were not ported to GCC11 (or to GCC5 and below).
-## select GCC_REQUIRE_6_or_later
-## select GCC_REQUIRE_older_than_11
-#
-# GDB10 imported a new drop from gnulib, which fails to build against bionic.
-# Patch to support bionic was ported to 7.12 and newer.
-## select GDB_REQUIRE_7_12_or_later
-## select GDB_REQUIRE_older_than_10
-
-## select LIBC_SUPPORT_THREADS_POSIX
-##
-## help Bionic is the Android C library. It is prebuilt, extracted from the Android NDK.
-## help This platform has no TLS (Thread Local Storage) support so that option must be
-## help disabled in the Compiler options.
-
-config THREADS
- default "posix"
-
-# FIXME does API level depend on the bionic version? generate that, too?
-choice
- bool
- prompt "Android API level"
- help
- The minimum for 64 bit support is 21.
-
-config ANDROID_API_28
- bool
- prompt "28"
-
-config ANDROID_API_27
- bool
- prompt "27"
-
-config ANDROID_API_26
- bool
- prompt "26"
-
-config ANDROID_API_24
- bool
- prompt "24"
-
-config ANDROID_API_23
- bool
- prompt "23"
-
-config ANDROID_API_22
- bool
- prompt "22"
-
-config ANDROID_API_21
- bool
- prompt "21"
-
-config ANDROID_API_19
- bool
- prompt "19"
- depends on ARCH_32
-
-config ANDROID_API_18
- bool
- prompt "18"
- depends on ARCH_32
-
-config ANDROID_API_17
- bool
- prompt "17"
- depends on ARCH_32
-
-config ANDROID_API_16
- bool
- prompt "16"
- depends on ARCH_32
-
-config ANDROID_API_15
- bool
- prompt "15"
- depends on ARCH_32
-
-config ANDROID_API_14
- bool
- prompt "14"
- depends on ARCH_32
-
-config ANDROID_API_13
- bool
- prompt "13"
- depends on ARCH_32
-
-config ANDROID_API_12
- bool
- prompt "12"
- depends on ARCH_32
-
-config ANDROID_API_9
- bool
- prompt "9"
- depends on ARCH_32
-
-endchoice
-
-config ANDROID_API
- string
- default "28" if ANDROID_API_28
- default "27" if ANDROID_API_27
- default "26" if ANDROID_API_26
- default "24" if ANDROID_API_24
- default "23" if ANDROID_API_23
- default "22" if ANDROID_API_22
- default "21" if ANDROID_API_21
- default "19" if ANDROID_API_19
- default "18" if ANDROID_API_18
- default "17" if ANDROID_API_17
- default "16" if ANDROID_API_16
- default "15" if ANDROID_API_15
- default "14" if ANDROID_API_14
- default "13" if ANDROID_API_13
- default "12" if ANDROID_API_12
- default "9" if ANDROID_API_9
diff --git a/packages/android-ndk/package.desc b/packages/android-ndk/package.desc
deleted file mode 100644
index ef1d14d8..00000000
--- a/packages/android-ndk/package.desc
+++ /dev/null
@@ -1,6 +0,0 @@
-# We don't support building bionic (yet) so no official repository
-mirrors='https://dl.google.com/android/repository'
-relevantpattern='r*|[a-z]'
-archive_filename='@{pkg_name}-@{version}-linux-x86_64'
-archive_formats='.zip'
-obsolete='yes'
diff --git a/packages/android-ndk/r14b/chksum b/packages/android-ndk/r14b/chksum
deleted file mode 100644
index 7106f49e..00000000
--- a/packages/android-ndk/r14b/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 android-ndk-r14b-linux-x86_64.zip 5509d6cacdfa2311d3cd84f747b7a5f0
-sha1 android-ndk-r14b-linux-x86_64.zip becd161da6ed9a823e25be5c02955d9cbca1dbeb
-sha256 android-ndk-r14b-linux-x86_64.zip 0ecc2017802924cf81fffc0f51d342e3e69de6343da892ac9fa1cd79bc106024
-sha512 android-ndk-r14b-linux-x86_64.zip 24435267fc5acae559aa5159f7c895ce5ea0cbb8ef966bb8ff0dadffcadccbe46bc3880d285bf4e411ef78632cf2f862408e7b2b41ebca51078b41eac66a301a
diff --git a/packages/android-ndk/r14b/version.desc b/packages/android-ndk/r14b/version.desc
deleted file mode 100644
index e69de29b..00000000
--- a/packages/android-ndk/r14b/version.desc
+++ /dev/null
diff --git a/packages/android-ndk/r15c/chksum b/packages/android-ndk/r15c/chksum
deleted file mode 100644
index 17c61764..00000000
--- a/packages/android-ndk/r15c/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 android-ndk-r15c-linux-x86_64.zip 9a52de7648f86468ea3ca0f6f08e6c57
-sha1 android-ndk-r15c-linux-x86_64.zip 0bf02d4e8b85fd770fd7b9b2cdec57f9441f27a2
-sha256 android-ndk-r15c-linux-x86_64.zip f01788946733bf6294a36727b99366a18369904eb068a599dde8cca2c1d2ba3c
-sha512 android-ndk-r15c-linux-x86_64.zip abe7f111ca51d9bb07a9fb6f9f6cc8f0195be056c8d8d996cddf4e7df101d120dab1afce71a1670e4f29f7b6462eb9863fbf7c86dcd9a21b7cb4bcea822cbe4f
diff --git a/packages/android-ndk/r15c/version.desc b/packages/android-ndk/r15c/version.desc
deleted file mode 100644
index e69de29b..00000000
--- a/packages/android-ndk/r15c/version.desc
+++ /dev/null
diff --git a/packages/android-ndk/r16b/chksum b/packages/android-ndk/r16b/chksum
deleted file mode 100644
index f56833e4..00000000
--- a/packages/android-ndk/r16b/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 android-ndk-r16b-linux-x86_64.zip e21a2687c26b71379beecfd8d0525224
-sha1 android-ndk-r16b-linux-x86_64.zip 42aa43aae89a50d1c66c3f9fdecd676936da6128
-sha256 android-ndk-r16b-linux-x86_64.zip bcdea4f5353773b2ffa85b5a9a2ae35544ce88ec5b507301d8cf6a76b765d901
-sha512 android-ndk-r16b-linux-x86_64.zip 94cd879925ee3174a9267e7da2d18d71874173976b362101ec06598a94b6587a33671e54bbbce5778c04418aacbb831e98386c16f6cde04574ea8c8589553dd7
diff --git a/packages/android-ndk/r16b/version.desc b/packages/android-ndk/r16b/version.desc
deleted file mode 100644
index e69de29b..00000000
--- a/packages/android-ndk/r16b/version.desc
+++ /dev/null
diff --git a/packages/android-ndk/r17c/chksum b/packages/android-ndk/r17c/chksum
deleted file mode 100644
index fd5b6f91..00000000
--- a/packages/android-ndk/r17c/chksum
+++ /dev/null
@@ -1,4 +0,0 @@
-md5 android-ndk-r17c-linux-x86_64.zip a4b6b8281e7d101efd994d31e64af746
-sha1 android-ndk-r17c-linux-x86_64.zip 12cacc70c3fd2f40574015631c00f41fb8a39048
-sha256 android-ndk-r17c-linux-x86_64.zip 3f541adbd0330a9205ba12697f6d04ec90752c53d6b622101a2a8a856e816589
-sha512 android-ndk-r17c-linux-x86_64.zip b8ad2aae0ea8caa7043c390c94c638c9499db22050c46b5e4f4b005fef6b47b7abdfb76c340c5a7e6024d8e6be926e07ab5556002c02919ba88f8b9469ed831e
diff --git a/packages/android-ndk/r17c/version.desc b/packages/android-ndk/r17c/version.desc
deleted file mode 100644
index e69de29b..00000000
--- a/packages/android-ndk/r17c/version.desc
+++ /dev/null
diff --git a/packages/android-ndk/r18/DO_NOT_IMPORT b/packages/android-ndk/r18/DO_NOT_IMPORT
deleted file mode 100644
index f2d097fd..00000000
--- a/packages/android-ndk/r18/DO_NOT_IMPORT
+++ /dev/null
@@ -1,2 +0,0 @@
-r18 removed the support for GCC and is therefore useless in
-crosstool-NG (unless clang is supported).
diff --git a/samples/aarch64-unknown-linux-android/crosstool.config b/samples/aarch64-unknown-linux-android/crosstool.config
deleted file mode 100644
index 51c24901..00000000
--- a/samples/aarch64-unknown-linux-android/crosstool.config
+++ /dev/null
@@ -1,11 +0,0 @@
-CT_CONFIG_VERSION="4"
-CT_OBSOLETE=y
-CT_EXPERIMENTAL=y
-CT_ARCH_ARM=y
-CT_ARCH_64=y
-CT_ARCH_ARCH="armv8-a"
-CT_STATIC_TOOLCHAIN=y
-CT_KERNEL_LINUX=y
-CT_ANDROID_API_21=y
-CT_CC_LANG_CXX=y
-CT_DEBUG_GDB=y
diff --git a/samples/aarch64-unknown-linux-android/reported.by b/samples/aarch64-unknown-linux-android/reported.by
deleted file mode 100644
index fb4b9ec1..00000000
--- a/samples/aarch64-unknown-linux-android/reported.by
+++ /dev/null
@@ -1,3 +0,0 @@
-reporter_name="Howard Chu"
-reporter_url="http://www.symas.com"
-reporter_comment="Config to build cross-compiler for Android/bionic on ARM64"
diff --git a/scripts/build/arch/arm.sh b/scripts/build/arch/arm.sh
index 01a40bdd..d1902026 100644
--- a/scripts/build/arch/arm.sh
+++ b/scripts/build/arch/arm.sh
@@ -18,7 +18,6 @@ CT_DoArchTupleValues() {
glibc,y) CT_TARGET_SYS=gnueabi;;
uClibc-ng,y)CT_TARGET_SYS=uclibc${CT_LIBC_UCLIBC_USE_GNU_SUFFIX:+gnu}eabi;;
musl,y) CT_TARGET_SYS=musleabi;;
- bionic,y) CT_TARGET_SYS=androideabi;;
*,y) CT_TARGET_SYS=eabi;;
esac
diff --git a/scripts/build/libc/bionic.sh b/scripts/build/libc/bionic.sh
deleted file mode 100644
index 0ffd4d8c..00000000
--- a/scripts/build/libc/bionic.sh
+++ /dev/null
@@ -1,34 +0,0 @@
-# This file adds functions to extract the bionic C library from the Android NDK
-# Copyright 2017 Howard Chu
-# Licensed under the GPL v2. See COPYING in the root of this package
-
-# Install Unified headers
-bionic_headers()
-{
- CT_DoStep INFO "Installing C library headers"
- CT_DoExecLog ALL cp -r "${CT_SRC_DIR}/android-ndk/sysroot/usr" "${CT_SYSROOT_DIR}"
-}
-
-bionic_main()
-{
- local arch="${CT_ARCH}"
- if [ "${CT_ARCH_64}" = "y" ]; then
- if [ "${CT_ARCH}" = "x86" ]; then
- arch="${arch}_"
- fi
- arch="${arch}64"
- fi
- CT_DoStep INFO "Installing C library binaries"
- CT_DoExecLog ALL cp -r "${CT_SRC_DIR}/android-ndk/platforms/android-${CT_ANDROID_API}/arch-${arch}/usr" "${CT_SYSROOT_DIR}"
-
- # NB: Modifying both CT_TARGET_CFLAGS and CT_ALL_TARGET_CFLAGS: the __ANDROID_API__
- # definition needs to be passed into GCC build, or the resulting libstdc++ gets
- # miscompiled (attempt to link against it results in unresolved symbols to stdout/...).
- # And since __ANDROID_API__ is a user config option, placing it with other user-supplied
- # options isn't completely out of character.
- # On the other hand, CT_ALL_TARGET_CFLAGS in non-multilib builds is already set and does
- # not get recalculated after GCC build, so setting CT_TARGET_CFLAGS is not reflected
- # on other libraries/apps, such as gdbserver.
- CT_EnvModify CT_TARGET_CFLAGS "${CT_TARGET_CFLAGS} -D__ANDROID_API__=${CT_ANDROID_API}"
- CT_EnvModify CT_ALL_TARGET_CFLAGS "${CT_ALL_TARGET_CFLAGS} -D__ANDROID_API__=${CT_ANDROID_API}"
-}
diff --git a/scripts/functions b/scripts/functions
index c6308c66..c2c1493c 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -1134,7 +1134,6 @@ CT_DoBuildTargetTuple()
glibc) CT_TARGET_SYS=gnu;;
uClibc-ng) CT_TARGET_SYS=uclibc;;
musl) CT_TARGET_SYS=musl;;
- bionic) CT_TARGET_SYS=android;;
none|newlib|picolibc) CT_TARGET_SYS=elf;;
*)
# Keep empty for the libraries like mingw or avr-libc