summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-07-17 20:05:52 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-07-20 10:24:56 +0100
commit4a0e3ca3733e2b6f3f20065421dbb9da2058014c (patch)
treed4f990cd1b06c881860c9534235b732d407c9848
parent336c1caeb86996cd316256ad15f392b9597ae414 (diff)
downloadopenembedded-core-4a0e3ca3733e2b6f3f20065421dbb9da2058014c.tar.gz
openembedded-core-4a0e3ca3733e2b6f3f20065421dbb9da2058014c.tar.bz2
openembedded-core-4a0e3ca3733e2b6f3f20065421dbb9da2058014c.zip
xmlto: only target requires coreutils
The coreutils added to RDEPENDS was for tail command which is everywhere on the build host, so only add it to target. There was a side effect if coreutils-native was build, when its commands install to sysroots, they would be removed during rebuild, and cause other recipes fail to build: /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir -p lib/sys make: /path/to/tmp/sysroots/x86_64-linux/usr/bin/mkdir: Command not found Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/xmlto/xmlto_0.0.28.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
index 14d10094c6..886e7b4b93 100644
--- a/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
+++ b/meta/recipes-devtools/xmlto/xmlto_0.0.28.bb
@@ -20,10 +20,10 @@ RDEPENDS_${PN} = "docbook-xml-dtd4 \
util-linux \
libxml2 \
bash \
- coreutils \
"
RDEPENDS_${PN}_append_class-target = " \
libxslt-bin \
+ coreutils \
"
CACHED_CONFIGUREVARS += "ac_cv_path_TAIL=${bindir}/tail"