global: change all instances of USE_EGLIBC to USE_GLIBC

Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
John Crispin 2015-03-12 18:23:49 +01:00
parent 522e047be2
commit 98be2ca3e0
6 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/diffutils
SECTION:=devel
CATEGORY:=Development
DEPENDS:=+USE_EGLIBC:librt
DEPENDS:=+USE_GLIBC:librt
TITLE:=diffutils
URL:=http://www.gnu.org/software/diffutils/
endef

View File

@ -42,7 +42,7 @@ CONFIGURE_VARS += ac_cv_path_LDOC=""
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
ifneq ($(CONFIG_USE_EGLIBC),)
ifneq ($(CONFIG_USE_GLIBC),)
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
TARGET_CFLAGS += -DNO_GETLOGIN
endif

View File

@ -3,7 +3,7 @@ menu "Configuration"
config PERL_THREADS
bool "Enable threading support"
default y if (mips || mipsel || i386 || i686 || x86_64 || armeb || arm) && (USE_UCLIBC || USE_EGLIBC)
default y if (mips || mipsel || i386 || i686 || x86_64 || armeb || arm) && (USE_UCLIBC || USE_GLIBC)
default n
config PERL_TESTS

View File

@ -36,7 +36,7 @@ HOST_BUILD_PARALLEL:=1
# Variables used during configuration/build
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
ifneq ($(CONFIG_USE_EGLIBC),)
ifneq ($(CONFIG_USE_GLIBC),)
EXTRA_LIBS:=bsd
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
endif
@ -50,7 +50,7 @@ ifdef CONFIG_PERL_THREADS
PERL_CONFIG_SUFFIX:=-mt
# uclibc doesn't provide crypt_r(). Enable crypt() usage for glibc builds only
ifdef CONFIG_USE_EGLIBC
ifdef CONFIG_USE_GLIBC
CRYPT_R_PROTO:=REENTRANT_PROTO_B_CCS
CRYPT:=define
else
@ -79,7 +79,7 @@ define Package/perl
CATEGORY:=Languages
TITLE:=The Perl intepreter
URL:=http://www.perl.com/
DEPENDS:=+USE_EGLIBC:libbsd +PERL_THREADS:libpthread
DEPENDS:=+USE_GLIBC:libbsd +PERL_THREADS:libpthread
endef
define Package/perl/description

View File

@ -3,7 +3,7 @@
# Build environment
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
ifneq ($(CONFIG_USE_EGLIBC),)
ifneq ($(CONFIG_USE_GLIBC),)
EXTRA_LIBS:=bsd
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
endif

View File

@ -50,7 +50,7 @@ MAKE_FLAGS += \
HOST="$(GNU_TARGET_NAME)" \
ZLIB="yes" \
ifneq ($(CONFIG_USE_EGLIBC),)
ifneq ($(CONFIG_USE_GLIBC),)
TARGET_LDFLAGS += -lresolv
endif