From: "Raúl Sánchez Siles" <rasasi78@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Depend autotools targets on host-ccache when BR2_CCACHE is enabled.
Date: Thu, 6 Sep 2012 17:37:32 +0200 [thread overview]
Message-ID: <201209061737.32826.rasasi78@gmail.com> (raw)
In this case, autotools targets rely on $(TARGET_CONFIGURE_OPTS) which includes
ccached compiler.
Signed-off-by: Ra?l S?nchez Siles <rasasi78@gmail.com>
---
package/pkg-autotools.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index 785daab..e858ffc 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -200,6 +200,10 @@ $(2)_PRE_CONFIGURE_HOOKS += AUTORECONF_HOOK
$(2)_DEPENDENCIES += host-automake host-autoconf host-libtool
endif
+ifeq ($(BR2_CCACHE),y)
+$(2)_DEPENDENCIES += host-ccache
+endif
+
#
# Build step. Only define it if not already defined by the package .mk
# file.
--
1.7.10.4
next reply other threads:[~2012-09-06 15:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-06 15:37 Raúl Sánchez Siles [this message]
2013-05-26 15:12 ` [Buildroot] [PATCH] Depend autotools targets on host-ccache when BR2_CCACHE is enabled Samuel Martin
2013-05-26 15:44 ` Thomas Petazzoni
2013-05-26 17:00 ` Thomas Petazzoni
2013-05-26 17:44 ` Samuel Martin
2013-05-26 17:48 ` Thomas Petazzoni
2013-05-26 20:37 ` Samuel Martin
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=201209061737.32826.rasasi78@gmail.com \
--to=rasasi78@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.