Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/toolchain/gdb
Date: Tue,  1 Jul 2008 14:38:03 -0700 (PDT)	[thread overview]
Message-ID: <20080701213803.746CC3C681@busybox.net> (raw)

Author: ulf
Date: 2008-07-01 14:38:03 -0700 (Tue, 01 Jul 2008)
New Revision: 22601

Log:
disable configure caching in gdb, courtesy of Fathi Boudra

Modified:
   trunk/buildroot/toolchain/gdb/gdb.mk


Changeset:
Modified: trunk/buildroot/toolchain/gdb/gdb.mk
===================================================================
--- trunk/buildroot/toolchain/gdb/gdb.mk	2008-07-01 21:36:31 UTC (rev 22600)
+++ trunk/buildroot/toolchain/gdb/gdb.mk	2008-07-01 21:38:03 UTC (rev 22601)
@@ -84,13 +84,14 @@
 
 $(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked
 	mkdir -p $(GDB_TARGET_DIR)
-	(cd $(GDB_TARGET_DIR); rm -rf config.cache; \
+	(cd $(GDB_TARGET_DIR); \
 		gdb_cv_func_sigsetjmp=yes \
 		$(TARGET_CONFIGURE_OPTS) \
 		CFLAGS_FOR_TARGET="$(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wno-error" \
 		CFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS) -Wno-error" \
 		$(GDB_TARGET_CONFIGURE_VARS) \
 		$(GDB_DIR)/configure \
+		--cache-file=/dev/null \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(REAL_GNU_TARGET_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
@@ -135,11 +136,12 @@
 
 $(GDB_SERVER_DIR)/.configured: $(GDB_DIR)/.unpacked
 	mkdir -p $(GDB_SERVER_DIR)
-	(cd $(GDB_SERVER_DIR); rm -rf config.cache; \
+	(cd $(GDB_SERVER_DIR); \
 		$(TARGET_CONFIGURE_OPTS) \
 		gdb_cv_func_sigsetjmp=yes \
 		bash_cv_have_mbstate_t=yes \
 		$(GDB_DIR)/gdb/gdbserver/configure \
+		--cache-file=/dev/null \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(REAL_GNU_TARGET_NAME) \
 		--target=$(REAL_GNU_TARGET_NAME) \
@@ -165,6 +167,7 @@
 	$(MAKE) CC=$(TARGET_CC) MT_CFLAGS="$(TARGET_CFLAGS)" \
 		-C $(GDB_SERVER_DIR)
 	$(STRIPCMD) $(GDB_SERVER_DIR)/gdbserver
+
 $(TARGET_DIR)/usr/bin/gdbserver: $(GDB_SERVER_DIR)/gdbserver
 ifeq ($(strip $(BR2_CROSS_TOOLCHAIN_TARGET_UTILS)),y)
 	mkdir -p $(STAGING_DIR)/$(REAL_GNU_TARGET_NAME)/target_utils
@@ -191,10 +194,11 @@
 
 $(GDB_HOST_DIR)/.configured: $(GDB_DIR)/.unpacked
 	mkdir -p $(GDB_HOST_DIR)
-	(cd $(GDB_HOST_DIR); rm -rf config.cache; \
+	(cd $(GDB_HOST_DIR); \
 		gdb_cv_func_sigsetjmp=yes \
 		bash_cv_have_mbstate_t=yes \
 		$(GDB_DIR)/configure \
+		--cache-file=/dev/null \
 		--prefix=$(STAGING_DIR) \
 		--build=$(GNU_HOST_NAME) \
 		--host=$(GNU_HOST_NAME) \
@@ -226,8 +230,6 @@
 gdbhost-dirclean:
 	rm -rf $(GDB_HOST_DIR)
 
-
-
 #############################################################
 #
 # Toplevel Makefile options

             reply	other threads:[~2008-07-01 21:38 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-01 21:38 ulf at uclibc.org [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-12-08  8:54 [Buildroot] svn commit: trunk/buildroot/toolchain/gdb jacmet at uclibc.org
2008-12-08  8:46 jacmet at uclibc.org
2008-12-08  8:46 jacmet at uclibc.org
2008-12-07 21:22 jacmet at uclibc.org
2008-08-24  7:48 jacmet at uclibc.org
2008-07-01 21:46 ulf at uclibc.org
2008-07-01 21:36 ulf at uclibc.org
2008-06-16 15:52 jacmet at uclibc.org
2008-02-07 10:59 vanokuten at uclibc.org
2008-02-08  9:07 ` Atle Nissestad
2008-02-08 10:45   ` Ivan Kuten
2007-09-26 14:16 aldot at uclibc.org
2007-07-29 17:34 ulf at uclibc.org
2007-06-26 14:32 aldot at uclibc.org
2007-06-22 10:42 aldot at uclibc.org
2007-06-16 17:55 sjhill at uclibc.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080701213803.746CC3C681@busybox.net \
    --to=ulf@uclibc.org \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox