From 8cd78978cd7328106bea0a583a2c609a426b444d Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Wed, 25 Jan 2012 10:30:30 +0100 Subject: gdb: remove hack needed for gdbserver using our sources Signed-off-by: Marc Kleine-Budde --- rules/gdb.make | 29 ++++++----------------------- 1 file changed, 6 insertions(+), 23 deletions(-) (limited to 'rules/gdb.make') diff --git a/rules/gdb.make b/rules/gdb.make index 21cc34560..4309f3d8b 100644 --- a/rules/gdb.make +++ b/rules/gdb.make @@ -2,7 +2,7 @@ # # Copyright (C) 2002-2008 by Pengutronix e.K., Hildesheim, Germany # 2003 by Auerswald GmbH & Co. KG, Schandelah, Germany -# 2009 by Marc Kleine-Budde +# 2009, 2012 by Marc Kleine-Budde # # See CREDITS for details about who has contributed to this project. # @@ -24,41 +24,22 @@ GDB := gdb-$(GDB_VERSION) GDB_SUFFIX := tar.bz2 GDB_SOURCE := $(SRCDIR)/$(GDB).$(GDB_SUFFIX) GDB_DIR := $(BUILDDIR)/$(GDB) -GDB_BUILDDIR := $(BUILDDIR)/$(GDB)-build GDB_LICENSE := GPLv3+ -GDB_URL := \ +GDB_URL := \ $(call ptx/mirror, GNU, gdb/$(GDB).$(GDB_SUFFIX)) \ ftp://sourceware.org/pub/gdb/snapshots/current/$(GDB).$(GDB_SUFFIX) -# ---------------------------------------------------------------------------- -# Get -# ---------------------------------------------------------------------------- - -$(GDB_SOURCE): - @$(call targetinfo) - @$(call get, GDB) - -# ---------------------------------------------------------------------------- -# Extract -# ---------------------------------------------------------------------------- - -# -# extra dep for the gdbserver -# -$(STATEDIR)/gdb.extract: $(GDB_SOURCE) - # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -GDB_PATH := PATH=$(CROSS_PATH) -GDB_ENV := \ +GDB_ENV := \ $(CROSS_ENV) \ $(CROSS_ENV_FLAGS_FOR_TARGET) ifndef PTXCONF_GDB_SHARED -GDB_MAKEVARS := LDFLAGS=-static +GDB_MAKEVARS := LDFLAGS=-static endif # @@ -73,6 +54,8 @@ GDB_AUTOCONF := \ --disable-werror \ --without-expat +GDB_BUILD_OOT := YES + # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- -- cgit v1.2.3