projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[package] base-files: Add /etc/nsswitch.conf to targets running glibc/eglibc, otherwi...
[openwrt/svn-archive/archive.git]
/
package
/
base-files
/
Makefile
diff --git
a/package/base-files/Makefile
b/package/base-files/Makefile
index 82bf51a2bdd967af05097ecad2a7c74893c76999..4abbdf7ac45adaee1e52035902e95fb21aac20aa 100644
(file)
--- a/
package/base-files/Makefile
+++ b/
package/base-files/Makefile
@@
-196,7
+196,6
@@
endef
define Package/libpthread
$(call Package/libc/Default)
TITLE:=POSIX thread library
define Package/libpthread
$(call Package/libc/Default)
TITLE:=POSIX thread library
- DEPENDS:= +librt
endef
define Package/libpthread/config
endef
define Package/libpthread/config
@@
-223,6
+222,7
@@
endef
define Package/librt
$(call Package/libc/Default)
TITLE:=POSIX.1b RealTime extension library
define Package/librt
$(call Package/libc/Default)
TITLE:=POSIX.1b RealTime extension library
+ DEPENDS:=+libpthread
endef
define Package/librt/config
endef
define Package/librt/config
@@
-416,6
+416,7
@@
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files)
define Package/glibc/install
use_nsswitch=$(if $(CONFIG_USE_GLIBC)$(CONFIG_EGLIBC_OPTION_EGLIBC_NSSWITCH),libnss_dns libnss_files)
define Package/glibc/install
+ $(CP) ./glibc-files/* $(1)/
$(INSTALL_DIR) $(1)/lib
$(CP) \
$(TOOLCHAIN_DIR)/lib/ld*.so.* \
$(INSTALL_DIR) $(1)/lib
$(CP) \
$(TOOLCHAIN_DIR)/lib/ld*.so.* \