| Submitter | Raúl Sánchez Siles |
|---|---|
| Date | Sept. 6, 2012, 3:37 p.m. |
| Message ID | <201209061737.32826.rasasi78@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/182233/ |
| State | New |
| Headers | show |
Comments
Patch
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.
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(+)