summaryrefslogtreecommitdiffstats
path: root/rules/cross-gcc-first.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-06-09 20:32:17 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:30 +0100
commite5adbbda37eee1d603990d9f95a33cc8cea34c7c (patch)
tree2fdcf74d7665ae6f6a02d7f18a1f27f94dadea61 /rules/cross-gcc-first.make
parent6609dad7c8d3ffed051f334f4faa87d9ca2719dd (diff)
downloadOSELAS.Toolchain-e5adbbda37eee1d603990d9f95a33cc8cea34c7c.tar.gz
OSELAS.Toolchain-e5adbbda37eee1d603990d9f95a33cc8cea34c7c.tar.xz
cross-gcc: cleanup
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/cross-gcc-first.make')
-rw-r--r--rules/cross-gcc-first.make42
1 files changed, 4 insertions, 38 deletions
diff --git a/rules/cross-gcc-first.make b/rules/cross-gcc-first.make
index 3ebb4e8..5fc4a84 100644
--- a/rules/cross-gcc-first.make
+++ b/rules/cross-gcc-first.make
@@ -19,32 +19,16 @@ CROSS_PACKAGES-$(PTXCONF_CROSS_GCC_FIRST) += cross-gcc-first
CROSS_GCC_FIRST_BUILDDIR = $(CROSS_BUILDDIR)/$(CROSS_GCC)-first-build
# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gcc-first.get: $(STATEDIR)/cross-gcc.get
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gcc-first.extract: $(STATEDIR)/cross-gcc.extract
- @$(call targetinfo)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-CROSS_GCC_FIRST_PATH := PATH=$(CROSS_PATH)
CROSS_GCC_FIRST_ENV := $(HOST_ENV) MAKEINFO=:
#
# autoconf
#
-CROSS_GCC_FIRST_AUTOCONF = \
+CROSS_GCC_FIRST_CONF_TOOL := autoconf
+CROSS_GCC_FIRST_CONF_OPT = \
$(CROSS_GCC_AUTOCONF_COMMON) \
--prefix=$(CROSS_GCC_FIRST_PREFIX) \
\
@@ -62,23 +46,13 @@ CROSS_GCC_FIRST_AUTOCONF = \
--disable-libatomic \
--with-system-zlib
-$(STATEDIR)/cross-gcc-first.prepare:
+$(STATEDIR)/cross-gcc-first.prepare: $(STATEDIR)/cross-gcc.extract
@$(call targetinfo)
@$(call clean, $(CROSS_GCC_FIRST_BUILDDIR))
mkdir -p $(CROSS_GCC_FIRST_BUILDDIR)
cd $(CROSS_GCC_FIRST_BUILDDIR) && \
$(CROSS_GCC_FIRST_PATH) $(CROSS_GCC_FIRST_ENV) \
- $(CROSS_GCC_DIR)/configure $(CROSS_GCC_FIRST_AUTOCONF)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gcc-first.compile:
- @$(call targetinfo)
- cd $(CROSS_GCC_FIRST_BUILDDIR) && $(CROSS_GCC_FIRST_PATH) \
- $(MAKE) $(PARALLELMFLAGS)
+ $(CROSS_GCC_DIR)/configure $(CROSS_GCC_FIRST_CONF_OPT)
@$(call touch)
# ----------------------------------------------------------------------------
@@ -98,12 +72,4 @@ $(STATEDIR)/cross-gcc-first.install:
@$(call touch)
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-cross-gcc-first_clean:
- rm -rf $(STATEDIR)/cross-gcc-first.*
- rm -rf $(CROSS_GCC_FIRST_BUILDDIR)
-
# vim: syntax=make