]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
uclibc: use builtin startfiles target
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sat, 20 Jul 2013 12:52:11 +0000 (09:52 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 27 Jul 2013 14:11:41 +0000 (16:11 +0200)
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>
package/uclibc/uclibc.mk

index 4a37fa0bad0798d26ae5418f614027c7bc30c9de..efe00a6dd860dcf76a4824d013d281785455fb5e 100644 (file)
@@ -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)