summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin A Kamble <nitin.a.kamble@intel.com>2012-05-03 10:29:32 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-17 10:54:04 +0100
commitf91fbc6f7a9d232897d73530c2b3fe0c49752b8e (patch)
treec3cbd1ee7c7a76d11e6cf4b30f72bfb63c10beed
parentfc537f344796765c3d2a095c4edb6f7d85d49b79 (diff)
downloadpoky-f91fbc6f7a9d232897d73530c2b3fe0c49752b8e.tar.gz
libgcrypt: fix build with automake 1.12.x
automake 1.12.x automatically deletes empty directories, so the additional rmdir from the do_install_append fails. cleanup the do_install_append for automake 1.12.x avoid this issue: | rmdir: failed to remove `/srv/home/nitin/builds/build-gcc47/tmp/work/i586-poky-linux/libgcrypt-1.5.0-r0/image/usr/sbin': No such file or directory NOTE: package libgcrypt-1.5.0-r0: task do_install: Failed no PR bump as no change in the output (From OE-Core rev: c17511dee02428bb457d1ae08356ef2f8a7f9888) Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc3
1 files changed, 0 insertions, 3 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index 42e47df65b..0d891d3d07 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -21,9 +21,6 @@ EXTRA_OECONF = "--without-pth --disable-asm --with-capabilities"
21do_install_append() { 21do_install_append() {
22 install -d ${D}/${libdir}/pkgconfig 22 install -d ${D}/${libdir}/pkgconfig
23 install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/ 23 install -m 0644 ${S}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
24
25 # Remove empty sbin directory since we don't build the daemon that would install there
26 rmdir ${D}${sbindir}
27} 24}
28 25
29FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256" 26FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"