treewide: drop anything related to uClibc
authorJosef Schlehofer <[email protected]>
Sun, 15 Jun 2025 06:37:32 +0000 (08:37 +0200)
committerJosef Schlehofer <[email protected]>
Thu, 25 Sep 2025 05:38:39 +0000 (07:38 +0200)
uClibc-ng was removed in 2020 from OpenWrt main repo [1].
These things are leftovers.

[1] https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=63fb175203bbf3b336804587c2f5b3a2d8132ec1

Signed-off-by: Josef Schlehofer <[email protected]>
libs/postgresql/Makefile
net/haproxy/Makefile
net/linknx/Makefile
net/netifyd/Makefile
net/torsocks/Makefile

index df07c8cb1f83d5337a58fd4e5a1b78e66bafe4d9..9db0e760604a1b2c35f5f9a1591e7d9cbd2d7c68 100644 (file)
@@ -121,15 +121,6 @@ PGSQL_CONFIG_VARS:= \
        ac_cv_file__dev_urandom="/dev/urandom" \
        ZIC=zic
 
-ifeq ($(CONFIG_USE_UCLIBC),y)
-# PostgreSQL does not build against uClibc with locales
-# enabled, due to an uClibc bug, see
-# http://lists.uclibc.org/pipermail/uclibc/2014-April/048326.html
-# so overwrite automatic detection and disable locale support
-PGSQL_CONFIG_VARS+= \
-               pgac_cv_type_locale_t=no
-endif
-
 TARGET_CONFIGURE_OPTS+=$(PGSQL_CONFIG_VARS)
 
 HOST_CONFIGURE_ARGS += \
index eb47f9230e74af46e381e97594426f8bb03a0672..021e377a79dc27a214c1ddf49112f85fd39bf96a 100644 (file)
@@ -68,16 +68,11 @@ define Package/haproxy-nossl/description
  This package is built without SSL support.
 endef
 
-TARGET=linux-glibc
+TARGET=linux-musl
 ENABLE_LUA:=y
 
-ifeq ($(CONFIG_USE_UCLIBC),y)
-       ADDON+=USE_BACKTRACE=
-       ADDON+=USE_LIBCRYPT=
-endif
-
-ifeq ($(CONFIG_USE_MUSL),y)
-       TARGET=linux-musl
+ifeq ($(CONFIG_USE_GLIBC),y)
+       TARGET=linux-glibc
 endif
 
 ifeq ($(BUILD_VARIANT),ssl)
index 0beab1b30597d145c1d04f549fe91814110c366a..f99e8e3878d2a3d735e8502596290895604ffaa1 100644 (file)
@@ -19,7 +19,7 @@ PKG_MAINTAINER:=Othmar Truniger <[email protected]>
 PKG_LICENSE:=GPL-2.0-or-later
 PKG_LICENSE_FILES:=LICENSE
 
-PKG_BUILD_DEPENDS:=USE_UCLIBC:argp-standalone USE_MUSL:argp-standalone
+PKG_BUILD_DEPENDS:=USE_MUSL:argp-standalone
 PKG_FIXUP:=autoreconf
 
 include $(INCLUDE_DIR)/package.mk
index a09cae3d462a3df0b53785cd99ca9b8639017d92..a0ffd2261fb9218b3b70dfce9a5853d2bff3a998 100644 (file)
@@ -32,7 +32,7 @@ define Package/netifyd
   CATEGORY:=Network
   TITLE:=Netify Agent
   URL:=http://www.netify.ai/
-  DEPENDS:=+ca-bundle +libatomic +libcurl +libmnl +libnetfilter-conntrack +libpcap +zlib +libpthread @!USE_UCLIBC
+  DEPENDS:=+ca-bundle +libatomic +libcurl +libmnl +libnetfilter-conntrack +libpcap +zlib +libpthread
   # Explicitly depend on libstdcpp rather than $(CXX_DEPENDS).  At the moment
   # std::unordered_map is only available via libstdcpp which is required for
   # performance reasons.
index b0bcbedb14218307ca56a668ddb5d04b49d3751c..cd49d44fe9f470da8b69a6e260663da3169f50e0 100644 (file)
@@ -39,13 +39,6 @@ define Package/torsocks/description
  It ensures that DNS requests are handled safely and explicitly rejects any traffic other than TCP from the application you're using.
 endef
 
-define Build/Configure
-       $(call Build/Configure/Default)
-ifeq ($(CONFIG_USE_UCLIBC),y)
-       find $(PKG_BUILD_DIR) -name 'Makefile' -exec sed -i 's|--param ssp-buffer-size=1 -fstack-protector-all||' \{\} \+
-endif
-endef
-
 define Package/conffiles
 /etc/tor/torsocks.conf
 endef