Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Depend autotools targets on host-ccache when BR2_CCACHE is enabled.
@ 2012-09-06 15:37 Raúl Sánchez Siles
  2013-05-26 15:12 ` Samuel Martin
  0 siblings, 1 reply; 7+ messages in thread
From: Raúl Sánchez Siles @ 2012-09-06 15:37 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-05-26 20:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-06 15:37 [Buildroot] [PATCH] Depend autotools targets on host-ccache when BR2_CCACHE is enabled Raúl Sánchez Siles
2013-05-26 15:12 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox