summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/eglibc/Makefile13
-rw-r--r--package/glibc/Makefile4
2 files changed, 9 insertions, 8 deletions
diff --git a/package/eglibc/Makefile b/package/eglibc/Makefile
index 5389c388f..02065328b 100644
--- a/package/eglibc/Makefile
+++ b/package/eglibc/Makefile
@@ -58,13 +58,14 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
done
eglibc-dev-install:
+ ${INSTALL_DIR} $(IDIR_EGLIBC_DEV)/lib
# install linker script
- -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC)/usr/lib/libc.so
- cd $(IDIR_EGLIBC)/lib && ln -sf libm.so.6 libm.so
- cd $(IDIR_EGLIBC)/lib && ln -sf libutil.so.1 libutil.so
- cd $(IDIR_EGLIBC)/lib && ln -sf librt.so.1 librt.so
- cd $(IDIR_EGLIBC)/lib && ln -sf libcrypt.so.1 libcrypt.so
- cd $(IDIR_EGLIBC)/lib && ln -sf libdl.so.2 libdl.so
+ -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_EGLIBC_DEV)/usr/lib/libc.so
+ cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libm.so.6 libm.so
+ cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libutil.so.1 libutil.so
+ cd $(IDIR_EGLIBC_DEV)/lib && ln -sf librt.so.1 librt.so
+ cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libcrypt.so.1 libcrypt.so
+ cd $(IDIR_EGLIBC_DEV)/lib && ln -sf libdl.so.2 libdl.so
# header package
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) \
HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 45145d230..103452469 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -45,10 +45,10 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
$(CP) $(STAGING_DIR)/lib/$$file.so* $(IDIR_GLIBC)/lib/; \
$(CP) $(STAGING_DIR)/lib/$$file-$(PKG_VERSION).so $(IDIR_GLIBC)/lib/; \
done
- # create ld.so link for mips gcc linker option
- cd $(IDIR_GLIBC)/lib && ln -sf ld-linux.so.2 ld.so.1
glibc-dev-install:
+ ${INSTALL_DIR} $(IDIR_GLIBC_DEV)/lib
+ cd $(IDIR_GLIBC_DEV)/lib && ln -sf ld-linux.so.2 ld.so.1
# header package
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) \
HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \