summaryrefslogtreecommitdiff
path: root/tools/ccache/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2012-06-06 13:27:11 +0000
committerJohn Crispin <john@openwrt.org>2012-06-06 13:27:11 +0000
commita53b084e497a9f1629a2caada833ebe14a6838b7 (patch)
treeb3c7d810e91ef20fedfcb2e87027309371c7c21d /tools/ccache/files
parent84a8853430779dd7ac93682654f008fe3f7eebd7 (diff)
downloadmtk-20170518-a53b084e497a9f1629a2caada833ebe14a6838b7.zip
mtk-20170518-a53b084e497a9f1629a2caada833ebe14a6838b7.tar.gz
mtk-20170518-a53b084e497a9f1629a2caada833ebe14a6838b7.tar.bz2
add ccache wrapper
SVN-Revision: 32075
Diffstat (limited to 'tools/ccache/files')
-rwxr-xr-xtools/ccache/files/ccache_cc2
-rwxr-xr-xtools/ccache/files/ccache_cxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/tools/ccache/files/ccache_cc b/tools/ccache/files/ccache_cc
new file mode 100755
index 0000000..01c4ad4
--- /dev/null
+++ b/tools/ccache/files/ccache_cc
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ccache "${TARGET_CC_NOCACHE}" "$@"
diff --git a/tools/ccache/files/ccache_cxx b/tools/ccache/files/ccache_cxx
new file mode 100755
index 0000000..cc60eb3
--- /dev/null
+++ b/tools/ccache/files/ccache_cxx
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ccache "${TARGET_CXX_NOCACHE}" "$@"