Changeset 8181


Ignore:
Timestamp:
2007-07-26T17:28:59+02:00 (11 years ago)
Author:
nbd
Message:

add source feed rev to menuconfig, set 8180 as default rev for kamikaze 7.07

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • tags/kamikaze_7.07/Config.in

    r8039 r8181  
    124124                Separate sources with spaces : " " 
    125125 
     126config SOURCE_FEEDS_REV 
     127        string 
     128        prompt "Revision for the source feed svn checkout" if BUILDOPTS 
     129        default "8180" 
     130 
     131 
    126132source "toolchain/Config.in" 
    127133source "target/imagebuilder/Config.in" 
  • tags/kamikaze_7.07/package/Makefile

    r7941 r8181  
    7878 
    7979symlinks: 
    80         ../scripts/feeds.sh $(CONFIG_SOURCE_FEEDS)  
     80        ../scripts/feeds.sh $(CONFIG_SOURCE_FEEDS) $(CONFIG_SOURCE_FEEDS_REV) 
    8181 
    8282ifeq ($(MAKECMDGOALS),compile) 
  • tags/kamikaze_7.07/scripts/feeds.sh

    r6942 r8181  
    3838        # We ensure the feed has not already been checked out, if so, we just update the source feed 
    3939        if [ -d $FEEDS_DIR/$2 ]; then 
    40                 svn up $FEEDS_DIR/$2 
     40                svn up ${3:+-r$3} $FEEDS_DIR/$2 
    4141                echo "Updated to revision $(LANG=C svn info $FEEDS_DIR/$2 | awk '/^Revision:/ { print $2 }' )"; 
    4242        # Otherwise, we have to checkout in the $FEEDS_DIR  
    4343        else 
    44                 svn co $1 $FEEDS_DIR/$2 
     44                svn co ${3:+-r$3} $1 $FEEDS_DIR/$2 
    4545                echo "Checked out revision $(LANG=C svn info $FEEDS_DIR/$2 | awk '/^Revision:/ { print $2 }' )"; 
    4646        fi 
     
    5858do 
    5959        name=$(extract_feed_name "$feed") 
    60         checkout_feed "$feed" "$name" 
     60        checkout_feed "$feed" "$name" "$2" 
    6161done 
    6262# Finally setup symlinks 
  • trunk/Config.in

    r8075 r8181  
    130130                Build suffix to append to the BUILD_DIR variable, i.e: build_dir_suffix 
    131131 
     132config SOURCE_FEEDS_REV 
     133        string 
     134        prompt "Revision for the source feed svn checkout" if BUILDOPTS 
     135        default "" 
     136 
     137 
    132138source "toolchain/Config.in" 
    133139source "target/imagebuilder/Config.in" 
  • trunk/package/Makefile

    r7941 r8181  
    7878 
    7979symlinks: 
    80         ../scripts/feeds.sh $(CONFIG_SOURCE_FEEDS)  
     80        ../scripts/feeds.sh $(CONFIG_SOURCE_FEEDS) $(CONFIG_SOURCE_FEEDS_REV) 
    8181 
    8282ifeq ($(MAKECMDGOALS),compile) 
  • trunk/scripts/feeds.sh

    r7986 r8181  
    3838        # We ensure the feed has not already been checked out, if so, we just update the source feed 
    3939        if [ -d $FEEDS_DIR/$2 ]; then 
    40                 svn up $FEEDS_DIR/$2 
     40                svn up ${3:+-r$3} $FEEDS_DIR/$2 
    4141                echo "Updated to revision $(LANG=C svn info $FEEDS_DIR/$2 | awk '/^Revision:/ { print $2 }' )"; 
    4242        # Otherwise, we have to checkout in the $FEEDS_DIR  
    4343        else 
    44                 svn co $1 $FEEDS_DIR/$2 
     44                svn co ${3:+-r$3} $1 $FEEDS_DIR/$2 
    4545                echo "Checked out revision $(LANG=C svn info $FEEDS_DIR/$2 | awk '/^Revision:/ { print $2 }' )"; 
    4646        fi 
     
    5858do 
    5959        name=$(extract_feed_name "$feed") 
    60         checkout_feed "$feed" "$name" 
     60        checkout_feed "$feed" "$name" "$2" 
    6161done 
    6262# Finally setup symlinks 
Note: See TracChangeset for help on using the changeset viewer.