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 <[email protected]>
---
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
[email protected]