diff options
| -rw-r--r-- | meta/recipes-devtools/ccache/ccache.inc | 28 | ||||
| -rw-r--r-- | meta/recipes-devtools/ccache/ccache_3.7.9.bb | 28 |
2 files changed, 27 insertions, 29 deletions
diff --git a/meta/recipes-devtools/ccache/ccache.inc b/meta/recipes-devtools/ccache/ccache.inc deleted file mode 100644 index dcbbf0ca7a..0000000000 --- a/meta/recipes-devtools/ccache/ccache.inc +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 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 | DEPENDS = "zlib" | ||
| 11 | |||
| 12 | SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz" | ||
| 13 | UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" | ||
| 14 | |||
| 15 | inherit autotools | ||
| 16 | |||
| 17 | # Remove ccache-native's dependencies, so that it can be used widely by | ||
| 18 | # other native recipes. | ||
| 19 | DEPENDS_class-native = "" | ||
| 20 | EXTRA_OECONF_class-native = "--with-bundled-zlib" | ||
| 21 | INHIBIT_AUTOTOOLS_DEPS_class-native = "1" | ||
| 22 | PATCHTOOL = "patch" | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
| 25 | |||
| 26 | do_configure_class-native() { | ||
| 27 | oe_runconf | ||
| 28 | } | ||
diff --git a/meta/recipes-devtools/ccache/ccache_3.7.9.bb b/meta/recipes-devtools/ccache/ccache_3.7.9.bb index a4de6c9fe1..e55854bfa8 100644 --- a/meta/recipes-devtools/ccache/ccache_3.7.9.bb +++ b/meta/recipes-devtools/ccache/ccache_3.7.9.bb | |||
| @@ -1,7 +1,33 @@ | |||
| 1 | require ccache.inc | 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" | ||
| 2 | 8 | ||
| 3 | LICENSE = "GPLv3+" | 9 | LICENSE = "GPLv3+" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a" |
| 5 | 11 | ||
| 12 | DEPENDS = "zlib" | ||
| 13 | |||
| 14 | SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz" | ||
| 6 | SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8" | 15 | SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8" |
| 7 | SRC_URI[sha256sum] = "92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36" | 16 | SRC_URI[sha256sum] = "92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36" |
| 17 | |||
| 18 | UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/" | ||
| 19 | |||
| 20 | inherit autotools | ||
| 21 | |||
| 22 | # Remove ccache-native's dependencies, so that it can be used widely by | ||
| 23 | # other native recipes. | ||
| 24 | DEPENDS_class-native = "" | ||
| 25 | EXTRA_OECONF_class-native = "--with-bundled-zlib" | ||
| 26 | INHIBIT_AUTOTOOLS_DEPS_class-native = "1" | ||
| 27 | PATCHTOOL = "patch" | ||
| 28 | |||
| 29 | BBCLASSEXTEND = "native" | ||
| 30 | |||
| 31 | do_configure_class-native() { | ||
| 32 | oe_runconf | ||
| 33 | } | ||
