Changeset 53bc10b
- Timestamp:
- 05/06/2006 11:06:07 AM (18 years ago)
- Branches:
- experimental
- Children:
- 5f7d08f
- Parents:
- 2c2471d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LFS/master.sh
r2c2471d r53bc10b 113 113 # Insert instructions for unpacking the package and to set the PKGDIR variable. 114 114 wrt_unpack "$FILE" 115 [[ "$OPTIMIZE" = "2" ]] && wrt_optimize "$name" 115 [[ "$OPTIMIZE" = "2" ]] && wrt_optimize "$name" && wrt_makeflags 116 116 fi 117 117 … … 217 217 FILE="$name-$vrs.tar.*" 218 218 wrt_unpack2 "$FILE" 219 [[ "$OPTIMIZE" != "0" ]] && wrt_optimize "$name" 219 [[ "$OPTIMIZE" != "0" ]] && wrt_optimize "$name" && wrt_makeflags 220 220 fi 221 221 -
optimize/opt_config
r2c2471d r53bc10b 7 7 #$Id$ 8 8 # 9 10 #--- Extra flags passed to the packages make commands 11 # "unset" will cause the variable to be not set 12 # instead of just set to null. 13 MAKEFLAGS="-j3" 9 14 10 15 #--- Default optimization mode -
optimize/opt_config.d/noOpt
r2c2471d r53bc10b 9 9 # doing. By default, this is set to disable optimization 10 10 # of packages known to have build or runtime failure. 11 # 12 # Also, if you what to use MAKEFLAGS but no build 13 # optimizations, set this mode in DEF_OPT_LVL 11 14 # 12 15 # Usage: - Apply optimization string to each variable -
optimize/optimize_functions
r2c2471d r53bc10b 31 31 done 32 32 } 33 34 #----------------------------------# 35 wrt_makeflags() { # Apply MAKEFLAGS to build 36 #----------------------------------# 37 if [[ "$MAKEFLAGS" != "unset" ]]; then 38 ( 39 cat << EOF 40 @echo "export MAKEFLAGS=\"$MAKEFLAGS\"" >> envars 41 EOF 42 ) >> $MKFILE.tmp 43 else 44 continue 45 fi 46 }
Note:
See TracChangeset
for help on using the changeset viewer.