summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-06-09 20:32:56 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-12-19 15:55:30 +0100
commit00cf025f60dbbf2121a8332321c0c4fbf8c47e0d (patch)
treef167bd382d0c7a52a6819a038236eccf3daa61d1
parente5adbbda37eee1d603990d9f95a33cc8cea34c7c (diff)
downloadOSELAS.Toolchain-00cf025f60dbbf2121a8332321c0c4fbf8c47e0d.tar.gz
OSELAS.Toolchain-00cf025f60dbbf2121a8332321c0c4fbf8c47e0d.tar.xz
cross-gdb: cleanup
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/cross-gdb.make58
1 files changed, 2 insertions, 56 deletions
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make
index 45807d2..4bba972 100644
--- a/rules/cross-gdb.make
+++ b/rules/cross-gdb.make
@@ -28,36 +28,16 @@ CROSS_GDB_URL := \
ftp://sourceware.org/pub/gdb/snapshots/current/$(CROSS_GDB).$(CROSS_GDB_SUFFIX)
# ----------------------------------------------------------------------------
-# Get
-# ----------------------------------------------------------------------------
-
-$(CROSS_GDB_SOURCE):
- @$(call targetinfo)
- @$(call get, CROSS_GDB)
-
-# ----------------------------------------------------------------------------
-# Extract
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gdb.extract:
- @$(call targetinfo)
- @$(call clean, $(CROSS_GDB_DIR))
- @$(call extract, CROSS_GDB, $(CROSS_BUILDDIR))
- @$(call patchin, CROSS_GDB, $(CROSS_GDB_DIR))
- @$(call touch)
-
-# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
-CROSS_GDB_PATH := PATH=$(CROSS_PATH)
-CROSS_GDB_ENV := $(HOST_ENV)
CROSS_GDB_DEVPKG := NO
#
# autoconf
#
-CROSS_GDB_AUTOCONF := \
+CROSS_GDB_CONF_TOOL := autoconf
+CROSS_GDB_CONF_OPT := \
$(PTX_HOST_CROSS_AUTOCONF) \
$(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \
\
@@ -65,38 +45,4 @@ CROSS_GDB_AUTOCONF := \
--enable-tui \
--with-expat
-$(STATEDIR)/cross-gdb.prepare:
- @$(call targetinfo)
- @$(call clean, $(CROSS_GDB_DIR)/config.cache)
- cd $(CROSS_GDB_DIR) && \
- $(CROSS_GDB_PATH) $(CROSS_GDB_ENV) \
- ./configure $(CROSS_GDB_AUTOCONF)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gdb.compile:
- @$(call targetinfo)
- cd $(CROSS_GDB_DIR) && $(CROSS_GDB_PATH) $(MAKE) $(PARALLELMFLAGS)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/cross-gdb.install:
- @$(call targetinfo)
- @$(call install, CROSS_GDB,,h)
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Clean
-# ----------------------------------------------------------------------------
-
-cross-gdb_clean:
- rm -rf $(STATEDIR)/cross-gdb.*
- rm -rf $(CROSS_GDB_DIR)
-
# vim: syntax=make