diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-25 10:40:50 +0000 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2008-04-25 10:40:50 +0000 |
commit | bea03c8fdd1f46eea716d62e00b6a985546c1002 (patch) | |
tree | 31e6a43b1f37400fbe7495ff6bb866b5bd2f8961 /rules/glibc-crt.make | |
parent | 040cee7d3045beaf9e9471ff018e7525144b73f0 (diff) | |
download | OSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.gz OSELAS.Toolchain-bea03c8fdd1f46eea716d62e00b6a985546c1002.tar.xz |
git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/branches/OSELAS.Toolchain-mkl@6226 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/glibc-crt.make')
-rw-r--r-- | rules/glibc-crt.make | 37 |
1 files changed, 12 insertions, 25 deletions
diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make index 91c1384..f01e695 100644 --- a/rules/glibc-crt.make +++ b/rules/glibc-crt.make @@ -23,85 +23,72 @@ GLIBC_CRT_DIR = $(BUILDDIR)/$(GLIBC)-crt # Get # ---------------------------------------------------------------------------- -glibc-crt_get: $(STATEDIR)/glibc-crt.get - $(STATEDIR)/glibc-crt.get: $(STATEDIR)/glibc.get - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Extract # ---------------------------------------------------------------------------- -glibc-crt_extract: $(STATEDIR)/glibc-crt.extract - $(STATEDIR)/glibc-crt.extract: $(STATEDIR)/glibc.extract - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -glibc-crt_prepare: $(STATEDIR)/glibc-crt.prepare - GLIBC_CRT_PATH := PATH=$(CROSS_PATH) GLIBC_CRT_ENV := \ BUILD_CC=$(HOSTCC) \ libc_cv_forced_unwind=yes \ libc_cv_c_cleanup=yes - # # autoconf # GLIBC_CRT_AUTOCONF = $(GLIBC_AUTOCONF) $(STATEDIR)/glibc-crt.prepare: - @$(call targetinfo, $@) + @$(call targetinfo) @$(call clean, $(GLIBC_CRT_DIR)) mkdir -p $(GLIBC_CRT_DIR) cd $(GLIBC_CRT_DIR) && eval \ $(GLIBC_CRT_PATH) $(GLIBC_CRT_ENV) \ $(GLIBC_DIR)/configure $(GLIBC_CRT_AUTOCONF) - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Compile # ---------------------------------------------------------------------------- -glibc-crt_compile: $(STATEDIR)/glibc-crt.compile - $(STATEDIR)/glibc-crt.compile: - @$(call targetinfo, $@) + @$(call targetinfo) cd $(GLIBC_CRT_DIR) && $(GLIBC_CRT_PATH) \ $(MAKE) $(PARALLELMFLAGS) csu/subdir_lib - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Install # ---------------------------------------------------------------------------- -glibc-crt_install: $(STATEDIR)/glibc-crt.install - $(STATEDIR)/glibc-crt.install: - @$(call targetinfo, $@) + @$(call targetinfo) mkdir -p $(SYSROOT)/usr/lib for file in {S,}crt1.o crt{i,n}.o; do \ $(INSTALL) -m 644 $(GLIBC_CRT_DIR)/csu/$$file \ $(SYSROOT)/usr/lib/$$file || exit 1; \ done - @$(call touch, $@) + @$(call touch) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -glibc-crt_targetinstall: $(STATEDIR)/glibc-crt.targetinstall - $(STATEDIR)/glibc-crt.targetinstall: - @$(call targetinfo, $@) - @$(call touch, $@) + @$(call targetinfo) + @$(call touch) # ---------------------------------------------------------------------------- # Clean |