binutils_cvs.bb: Do not use autotools_do_install
authorKhem Raj <raj.khem@gmail.com>
Fri, 11 Sep 2009 16:51:50 +0000 (09:51 -0700)
committerKhem Raj <raj.khem@gmail.com>
Fri, 11 Sep 2009 16:54:20 +0000 (09:54 -0700)
* CVS checkout include full src tree so we can not
  do make install because then it will try to install
  every component in src. We have to install ld
  gas and binutils only.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/binutils/binutils_cvs.bb

index 88dcd78..b335767 100644 (file)
@@ -1,5 +1,5 @@
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-cvs"
-PV = "0.0+cvs${SRCDATE}"
+PV = "2.20+cvs${SRCDATE}"
 INC_PR = "r5"
 PR = "${INC_PR}.1"
 
@@ -21,7 +21,7 @@ do_compile () {
        oe_runmake all-ld all-binutils all-gas
 }
 do_install () {
-        autotools_do_install install-ld install-binutils install-gas
+        oe_runmake 'DESTDIR=${D}' install-ld install-binutils install-gas
 
         # We don't really need these, so we'll remove them...
         rm -rf ${D}${libdir}/ldscripts