mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] openocd: don't try to autodetect ccache
@ 2019-03-06 17:13 Roland Hieber
  0 siblings, 0 replies; only message in thread
From: Roland Hieber @ 2019-03-06 17:13 UTC (permalink / raw)
  To: ptxdist; +Cc: Roland Hieber

When ccache is installed, but not setup correctly (which can happen in a
multi-user environment), compilation through ccache fails with errors:

    ccache: error: Failed to create temporary file for
    /home/$myuser/.ccache/6/9/38a65e8588a5ef2f13b83b639a9ec8-3865.manifest.tmp:
    Permission denied

Switch ccache off unconditionally and instead rely on the
PTXCONF_SETUP_CCACHE setting to inject ccache when it is selected in the
ptxdist setup.

Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/openocd.make | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/rules/openocd.make b/rules/openocd.make
index 898f1a98c..192d70a0d 100644
--- a/rules/openocd.make
+++ b/rules/openocd.make
@@ -25,6 +25,8 @@ OPENOCD_LICENSE	:= GPL-2.0-or-later AND BSD
 # ----------------------------------------------------------------------------
 
 OPENOCD_CONF_TOOL	:= autoconf
+OPENOCD_CONF_ENV	:= \
+	CCACHE=none
 OPENOCD_CONF_OPT	:= $(CROSS_AUTOCONF_USR) \
 	--disable-werror \
 	--$(call ptx/endis, PTXCONF_OPENOCD_DUMMY)-dummy \
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-06 17:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-06 17:13 [ptxdist] [PATCH] openocd: don't try to autodetect ccache Roland Hieber

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