diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2018-12-12 10:31:34 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-14 11:35:55 +0000 |
commit | f9921906b59ffdaf2467bfb1c6d6ea047a084e18 (patch) | |
tree | b18cccbe270df692d641bf7c928d49eeb714fc54 /meta/recipes-devtools/ccache/ccache.inc | |
parent | d3886294db7fbf49a455db949b9a47f89800e88b (diff) | |
download | poky-f9921906b59ffdaf2467bfb1c6d6ea047a084e18.tar.gz |
ccache-native: Remove dependencies
Remove ccache-native's dependencies so that all native recipes can depend on
ccache-native and use it except ccache-native itself.
It has the following 4 dependencies:
- xz-native: It is intruduced by ccache-3.4.2.tar.xz, use ccache-3.4.2.tar.gz
to replace of it can fix the problem.
- zlib-native: Use --with-bundled-zlib to fix it.
- autotools-native: Set INHIBIT_AUTOTOOLS_DEPS and add a do_configure() to fix
the problem.
- quilt-native: Set PATCHTOOL = "patch" to fix it.
(From OE-Core rev: f3d8bda91ee186dae8847d6438c1dfd6f6d8ee4f)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ccache/ccache.inc')
-rw-r--r-- | meta/recipes-devtools/ccache/ccache.inc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/meta/recipes-devtools/ccache/ccache.inc b/meta/recipes-devtools/ccache/ccache.inc index 656632893b..7f800659a3 100644 --- a/meta/recipes-devtools/ccache/ccache.inc +++ b/meta/recipes-devtools/ccache/ccache.inc | |||
@@ -9,8 +9,19 @@ LICENSE = "GPLv3+" | |||
9 | 9 | ||
10 | DEPENDS = "zlib" | 10 | DEPENDS = "zlib" |
11 | 11 | ||
12 | SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.xz" | 12 | SRC_URI = "https://download.samba.org/pub/${BPN}/${BP}.tar.gz" |
13 | 13 | ||
14 | inherit autotools | 14 | inherit autotools |
15 | 15 | ||
16 | # Remove ccache-native's dependencies, so that it can be used widely by | ||
17 | # other native recipes. | ||
18 | DEPENDS_class-native = "" | ||
19 | EXTRA_OECONF_class-native = "--with-bundled-zlib" | ||
20 | INHIBIT_AUTOTOOLS_DEPS_class-native = "1" | ||
21 | PATCHTOOL = "patch" | ||
22 | |||
16 | BBCLASSEXTEND = "native" | 23 | BBCLASSEXTEND = "native" |
24 | |||
25 | do_configure_class-native() { | ||
26 | oe_runconf | ||
27 | } | ||