Message ID | 1422394913-13257-6-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Rejected |
Headers | show |
Hi Thomas, On Tue, Jan 27, 2015 at 10:41:50PM +0100, Thomas Petazzoni wrote: [...] > +define HOST_CCACHE_PACKAGE_HELP > + @$(call pkg-print-help-opt,ccache-stats,"Show ccache statistics") > + @$(call pkg-print-help-opt,cache-options,"Update ccache options using CCACHE_OPTIONS variable") s/cache-options/ccache-options/ > +endef > + > +HOST_CCACHE_HELP_HOOKS += HOST_CCACHE_PACKAGE_HELP > + baruch
Dear Baruch Siach, On Wed, 28 Jan 2015 07:51:51 +0200, Baruch Siach wrote: > On Tue, Jan 27, 2015 at 10:41:50PM +0100, Thomas Petazzoni wrote: > [...] > > +define HOST_CCACHE_PACKAGE_HELP > > + @$(call pkg-print-help-opt,ccache-stats,"Show ccache statistics") > > + @$(call pkg-print-help-opt,cache-options,"Update ccache options using CCACHE_OPTIONS variable") > > s/cache-options/ccache-options/ Indeed, thanks for spotting, will fix in the next iteration if people think the patch series is worthwhile. Thanks! Thomas
diff --git a/package/ccache/ccache.mk b/package/ccache/ccache.mk index 270ea4b..5f86125 100644 --- a/package/ccache/ccache.mk +++ b/package/ccache/ccache.mk @@ -58,6 +58,13 @@ endef HOST_CCACHE_POST_INSTALL_HOOKS += HOST_CCACHE_DO_INITIAL_SETUP endif +define HOST_CCACHE_PACKAGE_HELP + @$(call pkg-print-help-opt,ccache-stats,"Show ccache statistics") + @$(call pkg-print-help-opt,cache-options,"Update ccache options using CCACHE_OPTIONS variable") +endef + +HOST_CCACHE_HELP_HOOKS += HOST_CCACHE_PACKAGE_HELP + $(eval $(host-autotools-package)) ifeq ($(BR2_CCACHE),y)
The host-ccache package has some custom targets to get statistics about ccache or change ccache options. This commit adds a HOST_CCACHE_HELP_HOOKS to ensure such targets are documented in 'make host-ccache-help'. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/ccache/ccache.mk | 7 +++++++ 1 file changed, 7 insertions(+)