[oe-commits] Robert Yang : libgcrypt: fix do_configure failed

git at git.openembedded.org git at git.openembedded.org
Tue Jun 10 16:25:28 UTC 2014


Module: openembedded-core.git
Branch: master
Commit: 2d13380c6546bb41afa53227f1571bd2908ceca2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2d13380c6546bb41afa53227f1571bd2908ceca2

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Fri Jun  6 06:08:51 2014 -0400

libgcrypt: fix do_configure failed

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>
Signed-off-by: Saul Wold <sgw at linux.intel.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 e3cd4f8..2b32b7e 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -22,7 +22,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



More information about the Openembedded-commits mailing list