[OE-core] [PATCH 1/1] libgcrypt: fix do_configure failed

Robert Yang liezhi.yang at windriver.com
Fri Jun 6 10:08:51 UTC 2014


Fixed:
rm: cannot remove `/path/libgcrypt-1.6.1/m4/*.m4': No such file or directory

We would meet this error if we stop the configure and run again.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 meta/recipes-support/libgcrypt/libgcrypt.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index 8afa945..7d39e96 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -20,7 +20,7 @@ EXTRA_OECONF = "--disable-asm --with-capabilities"
 
 do_configure_prepend () {
 	# Else these could be used in prefernce to those in aclocal-copy
-	rm ${S}/m4/*.m4
+	rm -f ${S}/m4/*.m4
 }
 
 # libgcrypt.pc is added locally and thus installed here
-- 
1.7.10.4




More information about the Openembedded-core mailing list