- Timestamp:
- 11/16/2013 10:35:25 PM (10 years ago)
- Branches:
- 2.4, ablfs-more, legacy, new_features, trunk
- Children:
- e58cf153
- Parents:
- d023a35
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
jhalfs
rd023a35 r854854e 201 201 #--- Envars not sourced from configuration 202 202 case $PROGNAME in 203 # TODO: clfs is now on git204 203 clfs ) declare -r GIT="git://git.cross-lfs.org/cross-lfs" ;; 205 204 clfs2 ) declare -r GIT="git://git.cross-lfs.org/clfs-sysroot" ;; … … 252 251 BLFS_TOOL=${BLFS_TOOL:-n} 253 252 if [[ "${BLFS_TOOL}" = "y" ]] ; then 254 BLFS_BRANCH_ID=${BLFS_BRANCH_ID:=development} 255 case $BLFS_BRANCH_ID in 256 development ) BLFS_TREE=trunk/BOOK ;; 257 *EDIT* ) echo " You forgot to set the BLFS branch or stable book version." 258 echo " Please rerun make and fix the configuration." 259 exit 2 ;; 260 branch-* ) BLFS_TREE=branches/${BLFS_BRANCH_ID#branch-} ;; 261 * ) BLFS_TREE=tags/${BLFS_BRANCH_ID} ;; 262 esac 253 BLFS_SVN=${BLFS_SVN:-n} 254 BLFS_WORKING_COPY=${BLFS_WORKING_COPY:-n} 255 BLFS_BRANCH=${BLFS_BRANCH:-n} 256 if [[ "${BLFS_SVN}" = "y" ]]; then 257 BLFS_BRANCH_ID=development 258 BLFS_TREE=trunk/BOOK 259 elif [[ "${BLFS_WORKING_COPY}" = "y" ]]; then 260 [[ -d "$BLFS_WC_LOCATION" ]] && 261 [[ -d "$BLFS_WC_LOCATION/postlfs" ]] || { 262 echo " BLFS tools: This is not a working copy: $BLFS_WC_LOCATION." 263 echo " Please rerun make and fix the configuration." 264 exit 2 265 } 266 BLFS_TREE=$(cd $BLFS_WC_LOCATION; svn info | grep URL | sed 's@.*BLFS/@@') 267 BLFS_BRANCH_ID=$(echo $BLFS_TREE | sed -e 's@trunk/BOOK@development@' \ 268 -e 's@branches/@branch-@' \ 269 -e 's@tags/@@' \ 270 -e 's@/BOOK@@') 271 elif [["${BLFS_BRANCH}" = "y" ]] ; then 272 case $BLFS_BRANCH_ID in 273 *EDIT* ) echo " You forgot to set the BLFS branch or stable book version." 274 echo " Please rerun make and fix the configuration." 275 exit 2 ;; 276 branch-systemd ) BLFS_TREE=branches/systemd ;; 277 branch-* ) BLFS_TREE=branches/${BLFS_BRANCH_ID#branch-}/BOOK ;; 278 6.2* | 7.4* ) BLFS_TREE=tags/${BLFS_BRANCH_ID} ;; 279 * ) BLFS_TREE=tags/${BLFS_BRANCH_ID}/BOOK ;; 280 esac 281 fi 263 282 [[ $VERBOSITY > 0 ]] && echo -n "Loading blfs tools installation function..." 264 283 source $COMMON_DIR/libs/func_install_blfs … … 303 322 [[ $? > 0 ]] && echo " optimize/opt_config did not load.." && exit 304 323 [[ $VERBOSITY > 0 ]] && echo "OK" 324 # The number of parallel jobs is taken from configuration now 325 MAKEFLAGS="-j${N_PARALLEL}" 305 326 # Validate optimize settings, if required 306 327 validate_opt_settings
Note:
See TracChangeset
for help on using the changeset viewer.