summaryrefslogtreecommitdiffstats
path: root/rules/cross-gdb.make
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2008-10-16 07:22:36 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2008-10-16 07:22:36 +0000
commit844cfae2c664df523d7a0debff8a7e5b1182d73c (patch)
treef654ad28f73b00afbeed329614cbc1d25851d038 /rules/cross-gdb.make
parentd86554b5ba588fe9d9910be1058c66b8ec68328e (diff)
downloadOSELAS.Toolchain-844cfae2c664df523d7a0debff8a7e5b1182d73c.tar.gz
OSELAS.Toolchain-844cfae2c664df523d7a0debff8a7e5b1182d73c.tar.xz
* rules/cross-gcc.in, rules/cross-binutils.make, rules/cross-gdb.make, rules/glibc.make, rules/cross-gcc.make, rules/libc.in:
use clean namespace use new TOOLCHAIN_ instead of GENERIC_ fix urls git-svn-id: https://svn.pengutronix.de/svn/oselas/toolchain/trunks/OSELAS.Toolchain-trunk@7845 f8d472c7-5700-0410-ac5a-87979cec3adf
Diffstat (limited to 'rules/cross-gdb.make')
-rw-r--r--rules/cross-gdb.make17
1 files changed, 8 insertions, 9 deletions
diff --git a/rules/cross-gdb.make b/rules/cross-gdb.make
index 023ab12..6046ca3 100644
--- a/rules/cross-gdb.make
+++ b/rules/cross-gdb.make
@@ -2,7 +2,7 @@
# $Id$
#
# Copyright (C) 2006, 2007, 2008 by Marc Kleine-Budde <mkl@pengutronix.de>
-#
+#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
@@ -20,10 +20,13 @@ CROSS_PACKAGES-$(PTXCONF_CROSS_GDB) += cross-gdb
CROSS_GDB_VERSION := $(call remove_quotes,$(PTXCONF_CROSS_GDB_VERSION))
CROSS_GDB := gdb-$(CROSS_GDB_VERSION)
CROSS_GDB_SUFFIX := tar.bz2
-CROSS_GDB_URL := $(PTXCONF_SETUP_GNUMIRROR)/gdb/$(CROSS_GDB).$(CROSS_GDB_SUFFIX)
CROSS_GDB_SOURCE := $(SRCDIR)/$(CROSS_GDB).$(CROSS_GDB_SUFFIX)
CROSS_GDB_DIR := $(CROSS_BUILDDIR)/$(CROSS_GDB)
+CROSS_GDB_URL := \
+ $(PTXCONF_SETUP_GNUMIRROR)/gdb/$(CROSS_GDB).$(CROSS_GDB_SUFFIX) \
+ ftp://sourceware.org/pub/gdb/snapshots/current/$(CROSS_GDB).$(CROSS_GDB_SUFFIX)
+
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
@@ -48,21 +51,17 @@ $(STATEDIR)/cross-gdb.extract:
# ----------------------------------------------------------------------------
CROSS_GDB_PATH := PATH=$(CROSS_PATH)
-CROSS_GDB_ENV := $(HOST_ENV)
+CROSS_GDB_ENV := $(PTX_HOST_ENV)
#
# autoconf
#
CROSS_GDB_AUTOCONF := \
- --prefix=$(PTXCONF_SYSROOT_CROSS) \
- --build=$(GNU_HOST) \
- --host=$(GNU_HOST) \
- --target=$(PTXCONF_GNU_TARGET) \
- $(PTXCONF_GENERIC_CONFIG_SYSROOT) \
+ $(PTX_HOST_CROSS_AUTOCONF) \
+ $(PTXCONF_TOOLCHAIN_CONFIG_SYSROOT) \
\
--disable-werror \
--enable-tui
-# --enable-gdbtk
$(STATEDIR)/cross-gdb.prepare:
@$(call targetinfo)