From: Christopher Larson <chris_lar...@mentor.com> rdoc gets unhappy if this already exists, so remove it before building.
Without this, it's possible to hit this error: Directory .ext/rdoc already exists, but it looks like it isn't an RDoc directory. Signed-off-by: Christopher Larson <chris_lar...@mentor.com> Signed-off-by: Sujith Haridasan <sujith_harida...@mentor.com> --- meta/recipes-devtools/ruby/ruby.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/ruby/ruby.inc b/meta/recipes-devtools/ruby/ruby.inc index fde67e9..d8f6882 100644 --- a/meta/recipes-devtools/ruby/ruby.inc +++ b/meta/recipes-devtools/ruby/ruby.inc @@ -37,3 +37,7 @@ do_configure_prepend() { sed -i "s#%%TARGET_CFLAGS%%#$TARGET_CFLAGS#; s#%%TARGET_LDFLAGS%%#$TARGET_LDFLAGS#" ${S}/common.mk rm -rf ${S}/ruby/ } + +do_compile_prepend () { + rm -rf .ext/rdoc +} -- 1.9.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto