summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2018-01-02 20:54:25 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2018-01-06 04:16:57 +0100
commit54b25f8acf062fc5229b358eec89316e2f5c0ea7 (patch)
tree44343652e6a7be93c9bd0a5c8da5384156ce39bd /package
parent4c2e687fe70c103e4a82ca6fb3d1bb917c1fd96f (diff)
glibc: fix glibc-dev package
Diffstat (limited to 'package')
-rw-r--r--package/glibc/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index c7df87f66..1b47117f5 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -51,7 +51,6 @@ ifneq ($(ADK_TARGET_USE_STATIC_LIBS_ONLY),y)
$(CP) $(STAGING_TARGET_DIR)/lib/$$file-$(PKG_GLIBCVER).so $(IDIR_GLIBC)/$(ADK_TARGET_LIBC_PATH); \
done
else
- # libnss_* required at runtime even for static builds
${INSTALL_DIR} ${IDIR_GLIBC}/$(ADK_TARGET_LIBC_PATH)
for file in libnss_dns libnss_files; do \
$(CP) $(STAGING_TARGET_DIR)/lib/$$file.so* $(IDIR_GLIBC)/$(ADK_TARGET_LIBC_PATH); \
@@ -73,8 +72,7 @@ glibc-gconv-install:
glibc-dev-install:
${INSTALL_DIR} $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_GLIBC_DEV)/usr/lib
- # install linker script
- cp ./files/libc.so.$(ADK_TARGET_CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so
+ ${CP} ${STAGING_TARGET_DIR}/usr/lib/libc.so ${IDIR_GLIBC_DEV}/usr/lib
ifeq ($(ADK_TARGET_ABI_O32),y)
ifeq ($(ADK_TARGET_BIG_ENDIAN),y)
$(SED) "s#@@ELFTARGET@@#elf32-tradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so
@@ -103,7 +101,7 @@ endif
done
# header package
${KERNEL_MAKE_ENV} \
- $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_VERSION)/linux-$(KERNEL_FILE_VER) \
+ $(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/w-linux-$(KERNEL_FILE_VER)-1/linux-$(KERNEL_FILE_VER) \
$(KERNEL_MAKE_OPTS) \
INSTALL_HDR_PATH=$(IDIR_GLIBC_DEV)/usr \
headers_install