mirror of
https://git.yoctoproject.org/poky
synced 2026-09-24 22:36:21 +02:00
ccache: merge ccache.inc into recipe
(From OE-Core rev: 9f9bfadc2b043a17dd33d4e5410b471567e6e445) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bd3fcb66fa
commit
376b8e7d47
@@ -1,28 +0,0 @@
|
|||||||
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+"
|
|
||||||
|
|
||||||
DEPENDS = "zlib"
|
|
||||||
|
|
||||||
SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz"
|
|
||||||
UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
# Remove ccache-native's dependencies, so that it can be used widely by
|
|
||||||
# other native recipes.
|
|
||||||
DEPENDS_class-native = ""
|
|
||||||
EXTRA_OECONF_class-native = "--with-bundled-zlib"
|
|
||||||
INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
|
|
||||||
PATCHTOOL = "patch"
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native"
|
|
||||||
|
|
||||||
do_configure_class-native() {
|
|
||||||
oe_runconf
|
|
||||||
}
|
|
||||||
@@ -1,7 +1,33 @@
|
|||||||
require ccache.inc
|
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+"
|
LICENSE = "GPLv3+"
|
||||||
LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
|
LIC_FILES_CHKSUM = "file://LICENSE.adoc;md5=22d514dbc01fdf9a9784334b6b59417a"
|
||||||
|
|
||||||
|
DEPENDS = "zlib"
|
||||||
|
|
||||||
|
SRC_URI = "https://github.com/ccache/ccache/releases/download/v${PV}/${BP}.tar.gz"
|
||||||
SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8"
|
SRC_URI[md5sum] = "a4a38afc62ed189904357739fd8f3fb8"
|
||||||
SRC_URI[sha256sum] = "92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36"
|
SRC_URI[sha256sum] = "92838e2133c9e704fdab9ee2608dad86c99021278b9ac47d065aa8ff2ea8ce36"
|
||||||
|
|
||||||
|
UPSTREAM_CHECK_URI = "https://github.com/ccache/ccache/releases/"
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
# Remove ccache-native's dependencies, so that it can be used widely by
|
||||||
|
# other native recipes.
|
||||||
|
DEPENDS_class-native = ""
|
||||||
|
EXTRA_OECONF_class-native = "--with-bundled-zlib"
|
||||||
|
INHIBIT_AUTOTOOLS_DEPS_class-native = "1"
|
||||||
|
PATCHTOOL = "patch"
|
||||||
|
|
||||||
|
BBCLASSEXTEND = "native"
|
||||||
|
|
||||||
|
do_configure_class-native() {
|
||||||
|
oe_runconf
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user