diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2011-06-24 15:38:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-30 20:57:05 +0100 |
commit | b3847df86d093bf2f2bb27e34303f53b5bc6584e (patch) | |
tree | 9e40721ab731af1ceaf939b3c67500f5fdbdbdfe /meta/recipes-devtools | |
parent | 477f685ce0cb48acf04074ff5be321b38e9974d5 (diff) | |
download | poky-b3847df86d093bf2f2bb27e34303f53b5bc6584e.tar.gz |
ccache: Integrate ccache-native to poky
Add ccache as a native tool and put its recipe files to:
'meta/recipes-devtools/ccache'.
(From OE-Core rev: 43416be5ccb66f93e395fdd8d0e19327f848cbe2)
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/ccache/ccache.inc | 16 | ||||
-rw-r--r-- | meta/recipes-devtools/ccache/ccache_3.1.5.bb | 8 |
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 0000000000..e9f7344643 --- /dev/null +++ b/meta/recipes-devtools/ccache/ccache.inc | |||
@@ -0,0 +1,16 @@ | |||
1 | SUMMARY = "a fast C/C++ compiler cache" | ||
2 | DESCRIPTION = "ccache is a compiler cache. It speeds up recompilation \ | ||
3 | by caching the result of previous compilations and detecting when the \ | ||
4 | same compilation is being done again. Supported languages are C, C\+\+, \ | ||
5 | Objective-C and Objective-C++." | ||
6 | HOMEPAGE = "http://ccache.samba.org" | ||
7 | SECTION = "devel" | ||
8 | LICENSE = "GPLv3+" | ||
9 | |||
10 | SRC_URI = "http://samba.org/ftp/ccache/ccache-${PV}.tar.gz" | ||
11 | |||
12 | inherit autotools | ||
13 | |||
14 | BBCLASSEXTEND = "native" | ||
15 | |||
16 | 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 0000000000..9a967b2a1e --- /dev/null +++ b/meta/recipes-devtools/ccache/ccache_3.1.5.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | require ccache.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | LICENSE = "GPLv3+" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=80e92ec45d4fca91f127864fb9e5d932" | ||
6 | |||
7 | SRC_URI[md5sum] = "b1a9684828eae68382d6afc98ce80d24" | ||
8 | SRC_URI[sha256sum] = "54afc35c672ce451e04a478cfc0eb74c1ba184e27ef24881206602aa0eb94d63" | ||