summaryrefslogtreecommitdiffstats
path: root/package/glibc
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-09-14 11:50:02 +0200
committerPeter Korsgaard <peter@korsgaard.com>2014-09-14 23:21:29 +0200
commit08d34dfa1566af5999d0334f5a2530965de934c0 (patch)
tree84c3615f34e25c5e4346018c3d62ec0327cb5525 /package/glibc
parentf82c1db38cda62416bb2527dc79d8a6fe586f76e (diff)
downloadbuildroot-08d34dfa1566af5999d0334f5a2530965de934c0.tar.gz
buildroot-08d34dfa1566af5999d0334f5a2530965de934c0.zip
glibc: two-stage gcc simplifications
After switching to a two stage gcc solution, there is no longer a need to do weird things in the glibc build. We can greatly simplify GLIBC_CONFIGURE_CMDS to only do the configuration, and let the existing GLIBC_BUILD_CMDS do the build. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/glibc')
-rw-r--r--package/glibc/glibc.mk11
1 files changed, 0 insertions, 11 deletions
diff --git a/package/glibc/glibc.mk b/package/glibc/glibc.mk
index 0f634451dd..09b57fac5e 100644
--- a/package/glibc/glibc.mk
+++ b/package/glibc/glibc.mk
@@ -92,18 +92,7 @@ define GLIBC_CONFIGURE_CMDS
--without-gd \
--enable-obsolete-rpc \
--with-headers=$(STAGING_DIR)/usr/include)
- # Install headers and start files
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build \
- install_root=$(STAGING_DIR) \
- install-bootstrap-headers=yes \
- install-headers
- $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/build csu/subdir_lib
- cp $(@D)/build/csu/crt1.o $(STAGING_DIR)/usr/lib/
- cp $(@D)/build/csu/crti.o $(STAGING_DIR)/usr/lib/
- cp $(@D)/build/csu/crtn.o $(STAGING_DIR)/usr/lib/
$(GLIBC_ADD_MISSING_STUB_H)
- $(TARGET_CROSS)gcc -nostdlib \
- -nostartfiles -shared -x c /dev/null -o $(STAGING_DIR)/usr/lib/libc.so
endef
OpenPOWER on IntegriCloud