summaryrefslogtreecommitdiff
path: root/package/eglibc
diff options
context:
space:
mode:
Diffstat (limited to 'package/eglibc')
-rw-r--r--package/eglibc/Config.in.manual26
-rw-r--r--package/eglibc/Makefile93
-rw-r--r--package/eglibc/files/libc.so.arm5
-rw-r--r--package/eglibc/files/libc.so.i5865
-rw-r--r--package/eglibc/files/libc.so.i6865
-rw-r--r--package/eglibc/files/libc.so.mips5
-rw-r--r--package/eglibc/files/libc.so.mips645
-rw-r--r--package/eglibc/files/libc.so.mips64el5
-rw-r--r--package/eglibc/files/libc.so.mipsel5
-rw-r--r--package/eglibc/files/libc.so.ppc5
-rw-r--r--package/eglibc/files/libc.so.ppc645
-rw-r--r--package/eglibc/files/libc.so.sparc5
-rw-r--r--package/eglibc/files/libc.so.sparc645
-rw-r--r--package/eglibc/files/libc.so.x865
-rw-r--r--package/eglibc/files/libc.so.x86_645
-rw-r--r--package/eglibc/files/nsswitch.conf20
16 files changed, 0 insertions, 204 deletions
diff --git a/package/eglibc/Config.in.manual b/package/eglibc/Config.in.manual
deleted file mode 100644
index 9c45c4c66..000000000
--- a/package/eglibc/Config.in.manual
+++ /dev/null
@@ -1,26 +0,0 @@
-config ADK_PACKAGE_EGLIBC
- prompt "eglibc............... embedded GNU C library"
- bool
- default y if ADK_TARGET_LIB_EGLIBC && !ADK_TOOLCHAIN_ONLY
- default n
- depends on ADK_TARGET_LIB_EGLIBC
- select ADK_PACKAGE_TZDATA
- help
- embedded GNU C library.
-
-config ADK_PACKAGE_EGLIBC_DBG
- prompt "debug symbols package"
- tristate
- depends on ADK_PACKAGE_EGLIBC
- depends on ADK_PACKAGE_GDB
- depends on !ADK_DEBUG
- default n
- help
-
-config ADK_PACKAGE_EGLIBC_STATIC
- prompt "eglibc-static........ C library (static version)"
- tristate
- default n
- depends on ADK_TARGET_LIB_EGLIBC
- help
- embedded GNU C library (static version).
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
deleted file mode 100644
index 9070b5b09..000000000
--- a/package/eglibc/Makefile
+++ /dev/null
@@ -1,93 +0,0 @@
-# This file is part of the OpenADK project. OpenADK is copyrighted
-# material, please see the LICENCE file in the top-level directory.
-
-include $(TOPDIR)/rules.mk
-include $(TOPDIR)/toolchain/eglibc/Makefile.inc
-
-PKG_DESCR:= embedded GNU C library
-PKG_SECTION:= base
-PKG_OPTS:= noremove
-PKG_SUBPKGS:= EGLIBC EGLIBC_DEV EGLIBC_STATIC
-
-NO_DISTFILES:= 1
-
-include $(TOPDIR)/mk/package.mk
-
-$(eval $(call PKG_template,EGLIBC,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,EGLIBC_DEV,$(PKG_NAME)-dev,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-$(eval $(call PKG_template,EGLIBC_STATIC,$(PKG_NAME)-static,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
-
-CONFIG_STYLE:= manual
-BUILD_STYLE:= manual
-INSTALL_STYLE:= manual
-
-# compile nothing, eglibc is already build in toolchain directory
-do-install:
- ${INSTALL_DIR} $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH) \
- $(IDIR_EGLIBC)/usr/lib $(IDIR_EGLIBC)/usr/bin
- $(CP) $(STAGING_TARGET_DIR)/lib/ld* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH)
- -for file in libc libcrypt libdl libm libresolv libutil libnsl libnss_dns libnss_files; do \
- $(CP) $(STAGING_TARGET_DIR)/lib/$$file.so* $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH); \
- $(CP) $(STAGING_TARGET_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_EGLIBC)/$(ADK_TARGET_LIBC_PATH); \
- done
- $(CP) $(STAGING_TARGET_DIR)/usr/bin/getconf $(IDIR_EGLIBC)/usr/bin
- ${INSTALL_DIR} $(IDIR_EGLIBC)/etc
- ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_EGLIBC}/etc
- ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_EGLIBC}/etc
-
-eglibc-static-install:
- ${INSTALL_DIR} $(IDIR_EGLIBC_STATIC)/usr/lib
- $(CP) $(STAGING_TARGET_DIR)/usr/lib/libc.a $(IDIR_EGLIBC_STATIC)/usr/lib
-
-eglibc-dev-install:
- ${INSTALL_DIR} $(IDIR_EGLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_EGLIBC_DEV)/usr/lib
- # install linker script
- cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-ifeq ($(ADK_TARGET_ABI_O32),y)
-ifeq ($(ADK_big),y)
- $(SED) "s#@@ELFTARGET@@#elf32-tradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-else
- $(SED) "s#@@ELFTARGET@@#elf32-tradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-endif
-endif
-ifeq ($(ADK_TARGET_ABI_N32),y)
-ifeq ($(ADK_big),y)
- $(SED) "s#@@ELFTARGET@@#elf32-ntradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-else
- $(SED) "s#@@ELFTARGET@@#elf32-ntradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-endif
-endif
-ifeq ($(ADK_TARGET_ABI_N64),y)
-ifeq ($(ADK_big),y)
- $(SED) "s#@@ELFTARGET@@#elf64-tradbigmips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-else
- $(SED) "s#@@ELFTARGET@@#elf64-tradlittlemips#" $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
-endif
-endif
- ${CP} ${STAGING_TARGET_DIR}/usr/lib/crt* ${IDIR_EGLIBC_DEV}/usr/lib
- ${CP} ${STAGING_TARGET_DIR}/usr/lib/libc_nonshared.a ${IDIR_EGLIBC_DEV}/usr/lib
- -for file in libcrypt libdl libm libresolv libutil libnsl; do \
- cd $(IDIR_EGLIBC_DEV)/$(ADK_TARGET_LIBC_PATH)/; ln -sf $$file-$(PKG_VERSION).so $$file.so; \
- done
- # header package
- $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)-$(KERNEL_RELEASE)/linux-$(KERNEL_VERSION) \
- HOSTCC=$(CC_FOR_BUILD) ARCH=$(ARCH) V=1 \
- INSTALL_HDR_PATH=$(IDIR_EGLIBC_DEV)/usr \
- headers_install
- (cd $(WRKBUILD); \
- ${EGLIBC_ENV} \
- $(TOOLCHAIN_BUILD_DIR)/w-$(PKG_NAME)-$(PKG_VERSION)-$(PKG_RELEASE)/$(PKG_NAME)-$(PKG_VERSION)/libc/configure \
- --host=$(GNU_TARGET_NAME) \
- --prefix=$(IDIR_EGLIBC_DEV)/usr \
- --with-headers=$(IDIR_EGLIBC_DEV)/usr/include \
- ${EGLIBC_CONFOPTS} \
- );
- PATH='${TARGET_PATH}' $(MAKE) -C $(WRKBUILD) install-headers install-bootstrap-headers=yes
- touch $(IDIR_EGLIBC_DEV)/usr/include/gnu/stubs.h
- touch $(IDIR_EGLIBC_DEV)/usr/include/gnu/stubs-{32,x32,64}.h
- @find $(IDIR_EGLIBC_DEV) -name .install -exec rm {} \;
- @find $(IDIR_EGLIBC_DEV) -name ..install.cmd -exec rm {} \;
- # conflicts with libiconv
- find $(IDIR_EGLIBC_DEV) -name iconv.h -exec rm {} \;
-
-include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/eglibc/files/libc.so.arm b/package/eglibc/files/libc.so.arm
deleted file mode 100644
index a79b29aa3..000000000
--- a/package/eglibc/files/libc.so.arm
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-littlearm)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) )
diff --git a/package/eglibc/files/libc.so.i586 b/package/eglibc/files/libc.so.i586
deleted file mode 100644
index cd8724cc5..000000000
--- a/package/eglibc/files/libc.so.i586
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-i386)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
diff --git a/package/eglibc/files/libc.so.i686 b/package/eglibc/files/libc.so.i686
deleted file mode 100644
index cd8724cc5..000000000
--- a/package/eglibc/files/libc.so.i686
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-i386)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
diff --git a/package/eglibc/files/libc.so.mips b/package/eglibc/files/libc.so.mips
deleted file mode 100644
index 9e73ea39c..000000000
--- a/package/eglibc/files/libc.so.mips
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(@@ELFTARGET@@)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/eglibc/files/libc.so.mips64 b/package/eglibc/files/libc.so.mips64
deleted file mode 100644
index 9e73ea39c..000000000
--- a/package/eglibc/files/libc.so.mips64
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(@@ELFTARGET@@)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/eglibc/files/libc.so.mips64el b/package/eglibc/files/libc.so.mips64el
deleted file mode 100644
index 9e73ea39c..000000000
--- a/package/eglibc/files/libc.so.mips64el
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(@@ELFTARGET@@)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/eglibc/files/libc.so.mipsel b/package/eglibc/files/libc.so.mipsel
deleted file mode 100644
index 6a6ff5582..000000000
--- a/package/eglibc/files/libc.so.mipsel
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-tradlittlemips)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/eglibc/files/libc.so.ppc b/package/eglibc/files/libc.so.ppc
deleted file mode 100644
index 3d4612706..000000000
--- a/package/eglibc/files/libc.so.ppc
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-powerpc)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/eglibc/files/libc.so.ppc64 b/package/eglibc/files/libc.so.ppc64
deleted file mode 100644
index 35a1edcc7..000000000
--- a/package/eglibc/files/libc.so.ppc64
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf64-powerpc)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld64.so.1 ) )
diff --git a/package/eglibc/files/libc.so.sparc b/package/eglibc/files/libc.so.sparc
deleted file mode 100644
index 91fa2c87d..000000000
--- a/package/eglibc/files/libc.so.sparc
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-sparc)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
diff --git a/package/eglibc/files/libc.so.sparc64 b/package/eglibc/files/libc.so.sparc64
deleted file mode 100644
index 2b0324525..000000000
--- a/package/eglibc/files/libc.so.sparc64
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf64-sparc)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
diff --git a/package/eglibc/files/libc.so.x86 b/package/eglibc/files/libc.so.x86
deleted file mode 100644
index cd8724cc5..000000000
--- a/package/eglibc/files/libc.so.x86
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
-OUTPUT_FORMAT(elf32-i386)
-GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )
diff --git a/package/eglibc/files/libc.so.x86_64 b/package/eglibc/files/libc.so.x86_64
deleted file mode 100644
index a2e2de87f..000000000
--- a/package/eglibc/files/libc.so.x86_64
+++ /dev/null
@@ -1,5 +0,0 @@
-/* GNU ld script
- Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(elf64-x86-64)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux-x86-64.so.2 ) )
diff --git a/package/eglibc/files/nsswitch.conf b/package/eglibc/files/nsswitch.conf
deleted file mode 100644
index 53bb9d3dd..000000000
--- a/package/eglibc/files/nsswitch.conf
+++ /dev/null
@@ -1,20 +0,0 @@
-# /etc/nsswitch.conf
-#
-# Example configuration of GNU Name Service Switch functionality.
-#
-
-passwd: files
-group: files
-initgroups: files
-shadow: files
-gshadow: files
-
-hosts: files dns
-networks: files dns
-
-protocols: files
-services: files
-ethers: files
-rpc: files
-
-netgroup: files