From 90d5c8b73e8d538e121275b12e714332ca785cff Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 21 Oct 2013 17:20:24 +0200 Subject: automatically create development subpackages, without user interaction, depend on gcc for the target, simplifies a lot of library packages --- package/eglibc/Config.in.manual | 9 --------- 1 file changed, 9 deletions(-) (limited to 'package/eglibc') diff --git a/package/eglibc/Config.in.manual b/package/eglibc/Config.in.manual index fd6d6fbb8..da237f79e 100644 --- a/package/eglibc/Config.in.manual +++ b/package/eglibc/Config.in.manual @@ -15,12 +15,3 @@ config ADK_PACKAGE_EGLIBC_STATIC depends on ADK_TARGET_LIB_EGLIBC help embedded GNU C library (static version). - -config ADK_PACKAGE_EGLIBC_DEV - prompt "eglibc-dev........... C library development files" - tristate - default n - depends on ADK_TARGET_LIB_EGLIBC - help - embedded GNU C library header files. - -- cgit v1.2.3 From 36b8021619c7f7a8ec6fee10e3bfa6e7ff8d9d48 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 24 Oct 2013 16:42:17 +0200 Subject: get rid of unsupported locale support --- package/eglibc/Makefile | 3 --- 1 file changed, 3 deletions(-) (limited to 'package/eglibc') diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile index 98c6b2de9..c93fbbefe 100644 --- a/package/eglibc/Makefile +++ b/package/eglibc/Makefile @@ -31,9 +31,6 @@ do-install: $(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 -ifeq ($(ADK_LOCALES),y) - $(CP) $(STAGING_TARGET_DIR)/usr/bin/locale $(IDIR_EGLIBC)/usr/bin -endif ${INSTALL_DIR} $(IDIR_EGLIBC)/etc ${INSTALL_DATA} ${STAGING_TARGET_DIR}/etc/gai.conf ${IDIR_EGLIBC}/etc ${INSTALL_DATA} ./files/nsswitch.conf ${IDIR_EGLIBC}/etc -- cgit v1.2.3 From b59da8fc7b46ee62cbe9eb97a05c8a0f1ab75593 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 7 Nov 2013 16:55:09 +0100 Subject: update valgrind to latest upstream version, strlen is not a function in ld.so in latest glibc/eglibc setups, just remove the redirect for now. enable automatic building of debug subpackages. update TODO --- package/eglibc/Config.in.manual | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'package/eglibc') diff --git a/package/eglibc/Config.in.manual b/package/eglibc/Config.in.manual index da237f79e..9c45c4c66 100644 --- a/package/eglibc/Config.in.manual +++ b/package/eglibc/Config.in.manual @@ -8,6 +8,15 @@ config ADK_PACKAGE_EGLIBC 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 -- cgit v1.2.3 From 8e662a391ec4d384473d4cc9e31a907cba078cb4 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 10 Nov 2013 14:35:23 +0100 Subject: support for mips64 big endian --- package/eglibc/Makefile | 12 ++++++++++++ package/eglibc/files/libc.so.mips64 | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 package/eglibc/files/libc.so.mips64 (limited to 'package/eglibc') diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile index c93fbbefe..1ee599707 100644 --- a/package/eglibc/Makefile +++ b/package/eglibc/Makefile @@ -44,13 +44,25 @@ eglibc-dev-install: # 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 diff --git a/package/eglibc/files/libc.so.mips64 b/package/eglibc/files/libc.so.mips64 new file mode 100644 index 000000000..9e73ea39c --- /dev/null +++ b/package/eglibc/files/libc.so.mips64 @@ -0,0 +1,5 @@ +/* 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 ) ) -- cgit v1.2.3