summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-03-06 18:13:18 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2019-03-07 12:19:04 +0100
commit4be2e8b63486d59112bdf25a3475cbebf7fe72f6 (patch)
treea34515853d198ed4eb7c28226efeb6085075c52b /rules
parent9104d5601d44dbda9a3994f44f92e3a2d0fd6369 (diff)
downloadptxdist-4be2e8b63486d59112bdf25a3475cbebf7fe72f6.tar.gz
ptxdist-4be2e8b63486d59112bdf25a3475cbebf7fe72f6.tar.xz
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 <rhi@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/openocd.make2
1 files changed, 2 insertions, 0 deletions
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 \