From 4be2e8b63486d59112bdf25a3475cbebf7fe72f6 Mon Sep 17 00:00:00 2001 From: Roland Hieber Date: Wed, 6 Mar 2019 18:13:18 +0100 Subject: openocd: don't try to autodetect ccache 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 Signed-off-by: Michael Olbrich --- 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 \ -- cgit v1.2.3