uclibc: remove uclibc++ support

This commit is contained in:
hanwckf 2022-10-17 01:06:58 +08:00
parent bbe6bff1ae
commit 1b17cdd067
2 changed files with 2 additions and 30 deletions

View File

@ -221,20 +221,6 @@ menu "Global build settings"
make the system libraries incompatible with most of the packages that are make the system libraries incompatible with most of the packages that are
not selected during the build process. not selected during the build process.
choice
prompt "Preferred standard C++ library"
default USE_LIBSTDCXX if USE_GLIBC
default USE_UCLIBCXX
help
Select the preferred standard C++ library for all packages that support this.
config USE_UCLIBCXX
bool "uClibc++"
config USE_LIBSTDCXX
bool "libstdc++"
endchoice
comment "Hardening build options" comment "Hardening build options"
config PKG_CHECK_FORMAT_SECURITY config PKG_CHECK_FORMAT_SECURITY

View File

@ -1,16 +1,2 @@
ifndef DUMP $(warn uclibc++.mk is deprecated. Please remove it and CXX_DEPENDS)
ifdef __package_mk CXX_DEPENDS = +libstdcpp
$(error uclibc++.mk must be included before package.mk)
endif
endif
PKG_PREPARED_DEPENDS += CONFIG_USE_UCLIBCXX
CXX_DEPENDS = +USE_UCLIBCXX:uclibcxx +USE_LIBSTDCXX:libstdcpp
ifneq ($(CONFIG_USE_UCLIBCXX),)
ifneq ($(CONFIG_CCACHE),)
TARGET_CXX_NOCACHE=g++-uc
else
TARGET_CXX=g++-uc
endif
endif