- Timestamp:
- 05/06/2006 10:35:19 AM (18 years ago)
- Branches:
- experimental
- Children:
- 53bc10b
- Parents:
- fb6b1c5
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.