[pisa-src] r897 - trunk/tools/subversion

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 02 Sep 2009 13:45:27 +0200

Author: biurrun
Date: Wed Sep  2 13:45:27 2009
New Revision: 897

Log:
Improve Openwrt autobuild:
- Use PISA Openwrt package from Subversion so that current code gets tested,
- build only the PISA package and not all of Openwrt.

Modified:
   trunk/tools/subversion/pisa_runautobuild

Modified: trunk/tools/subversion/pisa_runautobuild
==============================================================================
--- trunk/tools/subversion/pisa_runautobuild    Wed Sep  2 11:30:05 2009        
(r896)
+++ trunk/tools/subversion/pisa_runautobuild    Wed Sep  2 13:45:27 2009        
(r897)
@@ -43,15 +43,17 @@
        run_program rm -f $BUILD_DIR/openwrt/dl/pisa*.tar.gz
        PISA_TARBALL=$(ls pisa*tar.gz)
        run_program cp $PISA_TARBALL $BUILD_DIR/openwrt/dl
+       cd $BUILD_DIR/openwrt
+       run_program make -j 16 package/pisa-clean V=99
+       run_program rm -rf package/pisa
+       run_program cp -r $CHECKOUT_DIR/openwrt/trunk/package/pisa package/
        # Patch the Pisa package OpenWRT Makefile
        # We have no error handling here - we expect them to be caught
        # as soon as make is called
        WRT_PISA_VERSION=$(echo $PISA_TARBALL | cut -d . -f 1,2,3 | cut -d - -f 
2)
-       cd $BUILD_DIR/openwrt/package/pisa/
-       sed -i -e "s/PKG_VERSION:=.*/PKG_VERSION:=$WRT_PISA_VERSION/" Makefile
-       cd $BUILD_DIR/openwrt
+       sed -i -e "s/PKG_VERSION:=.*/PKG_VERSION:=$WRT_PISA_VERSION/" 
package/pisa/Makefile
        # Build
-       run_program make -j16 V=99
+       run_program make -j16 package/pisa-install V=99
     fi
     echo $AUTOBUILD_VERSION > $BUILD_DIR/PISA_HEAD_REVISION
     rm -rf "$CHECKOUT_DIR"

Other related posts:

  • » [pisa-src] r897 - trunk/tools/subversion - Diego Biurrun