Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fredrik Roubert <roubert@df.lth.se>
To: buildroot@busybox.net
Subject: [Buildroot] CCACHE_DIR
Date: Mon, 9 Oct 2006 10:37:21 +0200	[thread overview]
Message-ID: <20061009083721.GC20352@igloo.df.lth.se> (raw)

Hi!

Currently buildroot hardcodes the ccache directory patch, with the
consequence that the built toolchain can't be used outside of the
buildroot build tree.

Three months ago, Ed Swierk suggested on this mailing list to change
that behaviour:

http://www.busybox.net/lists/buildroot/2006-July/000027.html

As far as I can see in the archives, there was no response to his mail.
From my point of view, his suggestion is a good one and it would be a
good idea to apply his patch to buildroot. I therefore attach his patch
to this mail (so that everyone can see it immediately, it's very short),
and ask for anyone who thinks that this patch is a bad idea to explain
why.

Cheers // Fredrik Roubert

-- 
Visserij 192  |  +32 473 344527 / +46 708 776974
BE-9000 Gent  |  http://www.df.lth.se/~roubert/
-------------- next part --------------
--- buildroot.orig/toolchain/ccache/ccache.mk	2006-06-26 07:15:03.000000000 +0000
+++ buildroot/toolchain/ccache/ccache.mk	2006-07-17 16:34:58.000000000 +0000
@@ -24,10 +24,6 @@
 	# Should probably patch things to use a relative path.
 	$(SED) "s,getenv(\"CCACHE_PATH\"),\"$(STAGING_DIR)/bin-ccache\",g" \
 		$(CCACHE_DIR1)/execute.c
-	# WARNING - this will break if the toolchain build dir is deleted.
-	$(SED) "s,getenv(\"CCACHE_DIR\"),\"$(CCACHE_DIR1)/cache\",g" \
-		$(CCACHE_DIR1)/ccache.c
-	mkdir -p $(CCACHE_DIR1)/cache
 	touch $(CCACHE_DIR1)/.patched
 
 $(CCACHE_DIR1)/.configured: $(CCACHE_DIR1)/.patched
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 303 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20061009/d2a61a12/attachment.pgp 

             reply	other threads:[~2006-10-09  8:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-09  8:37 Fredrik Roubert [this message]
2006-10-19  9:28 ` [Buildroot] CCACHE_DIR Fredrik Roubert

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=20061009083721.GC20352@igloo.df.lth.se \
    --to=roubert@df.lth.se \
    --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