summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-devtools/ccache/ccache.inc
diff options
context:
space:
mode:
authortakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
committertakeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp>2020-11-02 11:07:33 +0900
commit1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch)
treecd70a267a5ef105ba32f200aa088e281fbd85747 /external/poky/meta/recipes-devtools/ccache/ccache.inc
parent4204309872da5cb401cbb2729d9e2d4869a87f42 (diff)
recipes
Diffstat (limited to 'external/poky/meta/recipes-devtools/ccache/ccache.inc')
-rw-r--r--external/poky/meta/recipes-devtools/ccache/ccache.inc14
1 files changed, 13 insertions, 1 deletions
diff --git a/external/poky/meta/recipes-devtools/ccache/ccache.inc b/external/poky/meta/recipes-devtools/ccache/ccache.inc
index 65663289..dcbbf0ca 100644
--- a/external/poky/meta/recipes-devtools/ccache/ccache.inc
+++ b/external/poky/meta/recipes-devtools/ccache/ccache.inc
@@ -9,8 +9,20 @@ LICENSE = "GPLv3+"
DEPENDS = "zlib"
-SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.xz"
+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
+}