Changeset 2c2471d
- Timestamp:
- 05/06/2006 10:35:19 AM (18 years ago)
- Branches:
- experimental
- Children:
- 53bc10b
- Parents:
- fb6b1c5
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
common/common-functions
rfb6b1c5 r2c2471d 285 285 ) >> $MKFILE.tmp 286 286 287 }288 289 290 #----------------------------------#291 wrt_optimize() { # Apply pkg specific opt's to build292 #----------------------------------#293 local pkg=$1294 local optLvl optVal OPT_VAR295 296 optLvl=`awk -v pkg="$pkg" '$1 == pkg { print $2 }' $JHALFSDIR/opt_override`297 if [[ "$optLvl" = "" ]] ; then298 optLvl=$DEF_OPT_LVL;299 fi300 301 for OPT_VAR in $ACTIVE_OPT_VARS ; do302 eval optVal=\$${OPT_VAR}_$optLvl303 304 if [[ "$optVal" != "unset" ]]; then305 (306 cat << EOF307 @echo "export $OPT_VAR=\"$optVal\"" >> envars308 EOF309 ) >> $MKFILE.tmp310 else311 continue312 fi313 done314 287 } 315 288 -
master.sh
rfb6b1c5 r2c2471d 465 465 fi 466 466 # 467 # optimize module 468 if [[ "$OPTIMIZE" != "0" ]]; then 469 [[ $VERBOSITY > 0 ]] && echo -n "Loading optimization module..." 470 source optimize/optimize_functions 471 [[ $? > 0 ]] && echo " optimize/optimize_functions did not load.." && exit 472 [[ $VERBOSITY > 0 ]] && echo "OK" 473 fi 474 # 467 475 # optimize configurations 468 476 if [[ "$OPTIMIZE" != "0" ]]; then
Note:
See TracChangeset
for help on using the changeset viewer.