summaryrefslogtreecommitdiff
path: root/package/glibc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-31 11:11:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-31 11:11:18 +0100
commitcae7454e8151e56da5f0b9f14a06fbcefe153a72 (patch)
tree5d97f0f7bf2ab079f3aac17015838f9b7665c0a1 /package/glibc/Makefile
parent657effffde51e2cf9181d71524a6eef1b968e9f7 (diff)
rework libc-dev package, add linker script for x86
Diffstat (limited to 'package/glibc/Makefile')
-rw-r--r--package/glibc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 103452469..27f5baafc 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -47,8 +47,11 @@ do-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}
done
glibc-dev-install:
- ${INSTALL_DIR} $(IDIR_GLIBC_DEV)/lib
- cd $(IDIR_GLIBC_DEV)/lib && ln -sf ld-linux.so.2 ld.so.1
+ ${INSTALL_DIR} $(IDIR_GLIBC_DEV)/lib $(IDIR_GLIBC_DEV)/usr/lib
+ # install linker script
+ -cp ./files/libc.so.$(ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so
+ ${CP} ${STAGING_DIR}/usr/lib/crt* ${IDIR_GLIBC_DEV}/usr/lib
+ ${CP} ${STAGING_DIR}/usr/lib/libc_nonshared.a ${IDIR_GLIBC_DEV}/usr/lib
# header package
$(MAKE) -C $(TOOLCHAIN_BUILD_DIR)/linux-$(KERNEL_VERSION) \
HOSTCC=$(HOSTCC) ARCH=$(ARCH) V=1 \