ruby: ensure that .ext/rdoc is gone in compile
PATCH 1/1 ruby: ensure that .ext/rdoc is gone in compile
From: Christopher Larson <[email protected]>
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 <[email protected]>
Signed-off-by Sujith Haridasan <[email protected]>
--- meta/recipes-devtools/ruby/ruby.inc | 4 ++++ 1 file changed, 4 insertions(+)
meta/recipes-devtools/ruby/ruby.inc +4 -0
@@ -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 +}
Signature · 1 line
1.9.1
Hi Sujith,
Quoted 21 lines · Sujith H
From: Christopher Larson <[email protected]>
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 <[email protected]>Signed-off-by Sujith Haridasan <[email protected]>--- meta/recipes-devtools/ruby/ruby.inc | 4 ++++ 1 file changed, 4 insertions(+)meta/recipes-devtools/ruby/ruby.inc +0
-0
meta/recipes-devtools/ruby/ruby.inc do_configure_prepend() { · line 43
Quoted 7 lines
meta/recipes-devtools/ruby/ruby.inc +4
-0@@ -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 +}
Please send this to oe-core mailing list.
Best Regards,
Maxin