summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/ccache/ccache.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk
index c5e93857c5..82a53f34c9 100644
--- a/package/ccache/ccache.mk
+++ b/package/ccache/ccache.mk
@@ -44,4 +44,13 @@ $(eval $(host-autotools-package))
ifeq ($(BR2_CCACHE),y)
ccache-stats: host-ccache
$(Q)$(CCACHE) -s
+
+ccache-options: host-ccache
+ifeq ($(CCACHE_OPTIONS),)
+ $(Q)echo "Usage: make ccache-options CCACHE_OPTIONS=\"opts\""
+ $(Q)echo "where 'opts' corresponds to one or more valid ccache options" \
+ "(see ccache help text below)"
+ $(Q)echo
+endif
+ $(Q)$(CCACHE) $(CCACHE_OPTIONS)
endif
OpenPOWER on IntegriCloud