diff options
author | Changqing Li <changqing.li@windriver.com> | 2018-08-21 09:30:18 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-08-21 14:49:42 +0100 |
commit | 7db9a28d2056a54157e77c412a91ad1cc96939c3 (patch) | |
tree | 520b04d73093a30ff02ba6f6389786ef2736d592 /meta | |
parent | 4cdbea37470d4f4f8e8796bf2f51b2e1857ba8b7 (diff) | |
download | poky-7db9a28d2056a54157e77c412a91ad1cc96939c3.tar.gz |
sstate: Avoid indirect autoconf-archive-native dependencies
remove the indirect dependcy of autoconf-archive-native via
SSTATE_EXCLUDEDEPS_SYSROOT to avoid not needed .m4 installed
into sysroot, which may cause compile problem.
(From OE-Core rev: d23156460e2b8f6684bd3005d7fa09b2c73e522e)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/layer.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf index cc77d078a8..2cbe952801 100644 --- a/meta/conf/layer.conf +++ b/meta/conf/layer.conf | |||
@@ -90,6 +90,9 @@ SSTATE_EXCLUDEDEPS_SYSROOT += "\ | |||
90 | .*->.*-initial.* \ | 90 | .*->.*-initial.* \ |
91 | .*(base-passwd|shadow-sysroot)->.* \ | 91 | .*(base-passwd|shadow-sysroot)->.* \ |
92 | " | 92 | " |
93 | # Avoid adding autoconf-archive-native to sysroot without a specific | ||
94 | # dependency in the recipe. | ||
95 | SSTATE_EXCLUDEDEPS_SYSROOT += ".*->autoconf-archive-native" | ||
93 | 96 | ||
94 | # We need to keep bitbake tools in PATH | 97 | # We need to keep bitbake tools in PATH |
95 | PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}" | 98 | PATH := "${@os.path.dirname(bb.utils.which(d.getVar('PATH'),'bitbake'))}:${HOSTTOOLS_DIR}" |