summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2013-07-20 12:52:11 (GMT)
committer Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-07-27 14:11:41 (GMT)
commitf7c246f64d96b257ec21efe0825235c2cd3e4937 (patch)
tree2f04980820b6a979269099f3ed6ac881a9d39a30
parentcc9f07776de22c72432722932c6e24df908b0efe (diff)
downloadbuildroot-f7c246f64d96b257ec21efe0825235c2cd3e4937.tar.gz
buildroot-f7c246f64d96b257ec21efe0825235c2cd3e4937.tar.bz2
uclibc: use builtin startfiles target
Now that we've dropped 0.9.31.x we can use the startfiles / install_startfiles targets instead of building and installing them by hand. Fixes internal blackfin toolchain build errors regarding crtreloc.o Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/uclibc/uclibc.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 4a37fa0..efe00a6 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -409,13 +409,12 @@ define UCLIBC_CONFIGURE_CMDS
PREFIX=$(STAGING_DIR) \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_DIR) \
- headers lib/crt1.o lib/crti.o lib/crtn.o \
- install_headers
+ headers startfiles \
+ install_headers install_startfiles
$(TARGET_CROSS)gcc -nostdlib \
-nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libc.so
$(TARGET_CROSS)gcc -nostdlib \
-nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libm.so
- cp -pLR $(UCLIBC_DIR)/lib/crt[1in].o $(STAGING_DIR)/usr/lib/
endef
ifeq ($(BR2_UCLIBC_INSTALL_TEST_SUITE),y)