Changeset 39321 in vbox for trunk/src/VBox/HostDrivers/linux
- Timestamp:
- Nov 16, 2011 9:40:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/linux/build_in_tmp
r32183 r39321 16 16 # 17 17 18 # Set the build type19 export BUILD_TYPE=_BUILDTYPE_20 21 18 # find a unique temp directory 22 19 num=0 … … 33 30 done 34 31 35 if [ "$1" = "--save-module-symvers" ]; then 36 shift 37 SAVE_MOD_SYMVERS="$1" 38 shift 39 fi 40 41 if [ "$1" = "--use-module-symvers" ]; then 42 shift 43 USE_MOD_SYMVERS="$1" 44 shift 45 fi 32 while true; do 33 if [ "$1" = "--save-module-symvers" ]; then 34 shift 35 SAVE_MOD_SYMVERS="$1" 36 shift 37 elif [ "$1" = "--use-module-symvers" ]; then 38 shift 39 USE_MOD_SYMVERS="$1" 40 shift 41 elif [ "$1" = "--module-source" ]; then 42 shift 43 MODULE_SOURCE="$1" 44 shift 45 else 46 break 47 fi 48 done 46 49 47 50 # copy 48 cp -a ${0%/*}/* $tmpdir/ 51 if [ -n "$MODULE_SOURCE" ]; then 52 cp -a "$MODULE_SOURCE"/* $tmpdir/ 53 else 54 cp -a ${0%/*}/* $tmpdir/ 55 fi 49 56 if [ -n "$USE_MOD_SYMVERS" ]; then 50 57 cp $USE_MOD_SYMVERS $tmpdir/Module.symvers
Note:
See TracChangeset
for help on using the changeset viewer.