]> code.ossystems Code Review - openembedded-core.git/commit
xmlto: only target requires coreutils
authorRobert Yang <liezhi.yang@windriver.com>
Mon, 18 Jul 2016 03:05:52 +0000 (20:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Jul 2016 09:24:56 +0000 (10:24 +0100)
commit4a0e3ca3733e2b6f3f20065421dbb9da2058014c
treed4f990cd1b06c881860c9534235b732d407c9848
parent336c1caeb86996cd316256ad15f392b9597ae414
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>
meta/recipes-devtools/xmlto/xmlto_0.0.28.bb