summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorMirko Vogt <mirko@openwrt.org>2012-04-28 22:24:12 +0000
committerMirko Vogt <mirko@openwrt.org>2012-04-28 22:24:12 +0000
commit334fd4199b94bddd3b17eaa93668e9f04f004ee0 (patch)
tree674661fe3699b36eae14bec14f39d0f5989da02e /package
parent6831c99f65e1d731d1916c58b29e6254d369620e (diff)
downloadmtk-20170518-334fd4199b94bddd3b17eaa93668e9f04f004ee0.zip
mtk-20170518-334fd4199b94bddd3b17eaa93668e9f04f004ee0.tar.gz
mtk-20170518-334fd4199b94bddd3b17eaa93668e9f04f004ee0.tar.bz2
purge support for glibc - use eglibc instead!
for reference: http://www.mail-archive.com/openwrt-devel@lists.openwrt.org/msg13425.html SVN-Revision: 31503
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile8
-rw-r--r--package/base-files/eglibc-files/etc/nsswitch.conf (renamed from package/base-files/glibc-files/etc/nsswitch.conf)0
2 files changed, 2 insertions, 6 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index a230b1b..b22e6b3 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -516,8 +516,8 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
use_libnsl=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NIS),libnsl)
use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files)
- define Package/glibc/install
- $(CP) ./glibc-files/* $(1)/
+ define Package/eglibc/install
+ $(CP) ./eglibc-files/* $(1)/
rm -f $(1)/etc/localtime
ln -sf /tmp/localtime $(1)/etc/localtime
$(INSTALL_DIR) $(1)/lib
@@ -534,10 +534,6 @@ ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
done
endef
- define Package/eglibc/install
- $(call Package/glibc/install,$1)
- endef
-
define Package/uClibc/install
$(INSTALL_DIR) $(1)/lib
$(CP) \
diff --git a/package/base-files/glibc-files/etc/nsswitch.conf b/package/base-files/eglibc-files/etc/nsswitch.conf
index 981c425..981c425 100644
--- a/package/base-files/glibc-files/etc/nsswitch.conf
+++ b/package/base-files/eglibc-files/etc/nsswitch.conf