summaryrefslogtreecommitdiffstats
path: root/rules/glibc-crt.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-06-08 22:00:39 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:29 +0100
commit823f6446dd8009296e690e22529a9edffc72c61f (patch)
treeb78131351cb4cd08538ad1b90e55de89d7fc26c5 /rules/glibc-crt.make
parentf69a713a63f9765cf9ce9d94c6ef7f9cc2931f28 (diff)
downloadOSELAS.Toolchain-823f6446dd8009296e690e22529a9edffc72c61f.tar.gz
OSELAS.Toolchain-823f6446dd8009296e690e22529a9edffc72c61f.tar.xz
glibc: cleanup rules
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/glibc-crt.make')
-rw-r--r--rules/glibc-crt.make51
1 files changed, 6 insertions, 45 deletions
diff --git a/rules/glibc-crt.make b/rules/glibc-crt.make
index 95375b5..ad6170a 100644
--- a/rules/glibc-crt.make
+++ b/rules/glibc-crt.make
@@ -1,6 +1,7 @@
# -*-makefile-*-
#
# Copyright (C) 2006 by Robert Schwebel <r.schwebel@pengutronix.de>
+# 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
@@ -19,22 +20,6 @@ PACKAGES-$(PTXCONF_GLIBC_CRT) += glibc-crt
GLIBC_CRT_DIR = $(BUILDDIR)/$(GLIBC)-crt-build
# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/glibc-crt.get: $(STATEDIR)/glibc.get
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/glibc-crt.extract: $(STATEDIR)/glibc.extract
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
@@ -51,25 +36,17 @@ GLIBC_CRT_ENV := \
#
# autoconf
#
-GLIBC_CRT_AUTOCONF = $(GLIBC_AUTOCONF)
+GLIBC_CRT_CONF_TOOL := autoconf
+GLIBC_CRT_CONF_OPT = $(GLIBC_CONF_OPT)
+GLIBC_CRT_MAKE_OPT := csu/subdir_lib
-$(STATEDIR)/glibc-crt.prepare:
+$(STATEDIR)/glibc-crt.prepare: $(STATEDIR)/glibc.extract
@$(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)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/glibc-crt.compile:
- @$(call targetinfo)
- cd $(GLIBC_CRT_DIR) && $(GLIBC_CRT_PATH) \
- $(MAKE) $(PARALLELMFLAGS) csu/subdir_lib
+ $(GLIBC_DIR)/configure $(GLIBC_CRT_CONF_OPT)
@$(call touch)
# ----------------------------------------------------------------------------
@@ -85,20 +62,4 @@ $(STATEDIR)/glibc-crt.install:
done
@$(call touch)
-# ----------------------------------------------------------------------------
-# Target-Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/glibc-crt.targetinstall:
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-glibc-crt_clean:
- rm -rf $(STATEDIR)/glibc-crt.*
- rm -rf $(GLIBC_CRT_DIR)
-
# vim: syntax=make