summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2011-06-24 15:38:24 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-30 20:47:11 +0100
commit43416be5ccb66f93e395fdd8d0e19327f848cbe2 (patch)
tree4af8b81a90c59b77fe8427dcef249896fbd4d5b2 /meta
parent0cfa7ebcf661aa0645c6d4d858b04946ebacb7e4 (diff)
downloadopenembedded-core-43416be5ccb66f93e395fdd8d0e19327f848cbe2.tar.gz
openembedded-core-43416be5ccb66f93e395fdd8d0e19327f848cbe2.tar.bz2
openembedded-core-43416be5ccb66f93e395fdd8d0e19327f848cbe2.tar.xz
openembedded-core-43416be5ccb66f93e395fdd8d0e19327f848cbe2.zip
ccache: Integrate ccache-native to poky
Add ccache as a native tool and put its recipe files to: 'meta/recipes-devtools/ccache'. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-devtools/ccache/ccache.inc16
-rw-r--r--meta/recipes-devtools/ccache/ccache_3.1.5.bb8
2 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ccache/ccache.inc b/meta/recipes-devtools/ccache/ccache.inc
new file mode 100644
index 000000000..e9f734464
--- /dev/null
+++ b/meta/recipes-devtools/ccache/ccache.inc
@@ -0,0 +1,16 @@
+SUMMARY = "a fast C/C++ compiler cache"
+DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \
+by caching the result of previous compilations and detecting when the \
+same compilation is being done again. Supported languages are C, C\+\+, \
+Objective-C and Objective-C++."
+HOMEPAGE = "http://ccache.samba.org"
+SECTION = "devel"
+LICENSE = "GPLv3+"
+
+SRC_URI = "http://samba.org/ftp/ccache/ccache-${PV}.tar.gz"
+
+inherit autotools
+
+BBCLASSEXTEND = "native"
+
+TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/meta/recipes-devtools/ccache/ccache_3.1.5.bb b/meta/recipes-devtools/ccache/ccache_3.1.5.bb
new file mode 100644
index 000000000..9a967b2a1
--- /dev/null
+++ b/meta/recipes-devtools/ccache/ccache_3.1.5.bb
@@ -0,0 +1,8 @@
+require ccache.inc
+
+PR = "r0"
+LICENSE = "GPLv3+"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=80e92ec45d4fca91f127864fb9e5d932"
+
+SRC_URI[md5sum] = "b1a9684828eae68382d6afc98ce80d24"
+SRC_URI[sha256sum] = "54afc35c672ce451e04a478cfc0eb74c1ba184e27ef24881206602aa0eb94d63"