summaryrefslogtreecommitdiffstats
path: root/rules/glibc-crt.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/glibc-crt.make')
-rw-r--r--rules/glibc-crt.make37
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