binutils-cross-sdk.inc: Do not install ${D}${infodir}/dir
authorKhem Raj <raj.khem@gmail.com>
Tue, 12 Oct 2010 01:26:58 +0000 (18:26 -0700)
committerKhem Raj <raj.khem@gmail.com>
Tue, 12 Oct 2010 01:28:08 +0000 (18:28 -0700)
* This file should be generates when the package is actually installed
  not when we install it during build.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/binutils/binutils-cross-sdk.inc

index e1c00e4..52e2de1 100644 (file)
@@ -8,6 +8,9 @@ EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
 
 do_install () {
         autotools_do_install
+        # delete the dir index it should be generated after installing the package
+        # for real
+        rm -rf ${D}${infodir}/dir
 
        # Fix the ${prefix}/${TARGET_SYS}/bin/* files to be symlinks
        rm ${D}${prefix}/${TARGET_SYS}/bin/.debug -Rf