global: change all instances of USE_EGLIBC to USE_GLIBC
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
522e047be2
commit
98be2ca3e0
|
@ -24,7 +24,7 @@ include $(INCLUDE_DIR)/package.mk
|
||||||
define Package/diffutils
|
define Package/diffutils
|
||||||
SECTION:=devel
|
SECTION:=devel
|
||||||
CATEGORY:=Development
|
CATEGORY:=Development
|
||||||
DEPENDS:=+USE_EGLIBC:librt
|
DEPENDS:=+USE_GLIBC:librt
|
||||||
TITLE:=diffutils
|
TITLE:=diffutils
|
||||||
URL:=http://www.gnu.org/software/diffutils/
|
URL:=http://www.gnu.org/software/diffutils/
|
||||||
endef
|
endef
|
||||||
|
|
|
@ -42,7 +42,7 @@ CONFIGURE_VARS += ac_cv_path_LDOC=""
|
||||||
|
|
||||||
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
|
TARGET_CFLAGS += -DLUA_USE_LINUX $(FPIC) -std=gnu99
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_EGLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
|
ifeq ($(CONFIG_EGLIBC_OPTION_EGLIBC_UTMP),)
|
||||||
TARGET_CFLAGS += -DNO_GETLOGIN
|
TARGET_CFLAGS += -DNO_GETLOGIN
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -3,7 +3,7 @@ menu "Configuration"
|
||||||
|
|
||||||
config PERL_THREADS
|
config PERL_THREADS
|
||||||
bool "Enable threading support"
|
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
|
default n
|
||||||
|
|
||||||
config PERL_TESTS
|
config PERL_TESTS
|
||||||
|
|
|
@ -36,7 +36,7 @@ HOST_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
# Variables used during configuration/build
|
# Variables used during configuration/build
|
||||||
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
|
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
|
||||||
ifneq ($(CONFIG_USE_EGLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
EXTRA_LIBS:=bsd
|
EXTRA_LIBS:=bsd
|
||||||
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
|
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
|
||||||
endif
|
endif
|
||||||
|
@ -50,7 +50,7 @@ ifdef CONFIG_PERL_THREADS
|
||||||
PERL_CONFIG_SUFFIX:=-mt
|
PERL_CONFIG_SUFFIX:=-mt
|
||||||
|
|
||||||
# uclibc doesn't provide crypt_r(). Enable crypt() usage for glibc builds only
|
# 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_R_PROTO:=REENTRANT_PROTO_B_CCS
|
||||||
CRYPT:=define
|
CRYPT:=define
|
||||||
else
|
else
|
||||||
|
@ -79,7 +79,7 @@ define Package/perl
|
||||||
CATEGORY:=Languages
|
CATEGORY:=Languages
|
||||||
TITLE:=The Perl intepreter
|
TITLE:=The Perl intepreter
|
||||||
URL:=http://www.perl.com/
|
URL:=http://www.perl.com/
|
||||||
DEPENDS:=+USE_EGLIBC:libbsd +PERL_THREADS:libpthread
|
DEPENDS:=+USE_GLIBC:libbsd +PERL_THREADS:libpthread
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/perl/description
|
define Package/perl/description
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
# Build environment
|
# Build environment
|
||||||
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
|
HOST_PERL_PREFIX:=$(STAGING_DIR_HOST)/usr
|
||||||
ifneq ($(CONFIG_USE_EGLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
EXTRA_LIBS:=bsd
|
EXTRA_LIBS:=bsd
|
||||||
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
|
EXTRA_LIBDIRS:=$(STAGING_DIR)/lib
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -50,7 +50,7 @@ MAKE_FLAGS += \
|
||||||
HOST="$(GNU_TARGET_NAME)" \
|
HOST="$(GNU_TARGET_NAME)" \
|
||||||
ZLIB="yes" \
|
ZLIB="yes" \
|
||||||
|
|
||||||
ifneq ($(CONFIG_USE_EGLIBC),)
|
ifneq ($(CONFIG_USE_GLIBC),)
|
||||||
TARGET_LDFLAGS += -lresolv
|
TARGET_LDFLAGS += -lresolv
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue