Changeset 2871 in vbox for trunk/src/VBox/HostDrivers/Support/linux
- Timestamp:
- May 25, 2007 1:34:08 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/build_in_tmp
r2641 r2871 34 34 done 35 35 36 if [ "$1" = "--save-module-symvers" ]; then 37 shift 38 SAVE_MOD_SYMVERS="$1" 39 shift 40 fi 41 42 if [ "$1" = "--use-module-symvers" ]; then 43 shift 44 USE_MOD_SYMVERS="$1" 45 shift 46 fi 47 36 48 # copy 37 49 cp -a ${0%/*}/* $tmpdir/ 50 cp $USE_MOD_SYMVERS $tmpdir/Module.symvers 38 51 39 52 # make, cleanup if success 40 53 cd "$tmpdir" 41 54 if make "$@"; then 55 if [ -n "$SAVE_MOD_SYMVERS" ]; then 56 if [ -f Module.symvers ]; then 57 cp -f Module.symvers $SAVE_MOD_SYMVERS 58 else 59 cat /dev/null > $SAVE_MOD_SYMVERS 60 fi 61 fi 42 62 rm -rf $tmpdir 43 63 exit 0
Note:
See TracChangeset
for help on using the changeset viewer.