summaryrefslogtreecommitdiffstats
path: root/tools/ccache/files
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 13:27:11 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-06-06 13:27:11 +0000
commit0d08b7661121b5e68a980188316078ab5518c7c0 (patch)
treedeed598b50e65f1e706caa3c581fd80570626fdf /tools/ccache/files
parent5cdcae8e9bd01612ea4ba81dccf7cf1b6cd4552e (diff)
[tools] add ccache wrapper
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@32075 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 000000000..01c4ad42a
--- /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 000000000..cc60eb3a1
--- /dev/null
+++ b/tools/ccache/files/ccache_cxx
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec ccache "${TARGET_CXX_NOCACHE}" "$@"