vbox的更動 69152 路徑 trunk/src/VBox
- 時間撮記:
- 2017-10-20 下午04:09:57 (7 年 以前)
- 位置:
- trunk/src/VBox
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/linux/export_modules
r59768 r69152 30 30 FILE_OUT="`cd \`dirname $1\`; pwd`/`basename $1`" 31 31 PATH_ROOT="`cd ${MY_DIR}/../../../..; pwd`" 32 PATH_LOG=/tmp/vbox-export-guest.log 32 33 PATH_LINUX="$PATH_ROOT/src/VBox/Additions/linux" 33 34 PATH_VBOXGUEST="$PATH_ROOT/src/VBox/Additions/common/VBoxGuest" … … 35 36 PATH_VBOXVIDEO="$PATH_ROOT/src/VBox/Additions/linux/drm" 36 37 37 VBOX_VERSION_MAJOR=`sed -e "s/^ *VBOX_VERSION_MAJOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`38 VBOX_VERSION_MINOR=`sed -e "s/^ *VBOX_VERSION_MINOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`39 VBOX_VERSION_BUILD=`sed -e "s/^ *VBOX_VERSION_BUILD *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`38 VBOX_VERSION_MAJOR=`sed -e "s/^ *VBOX_VERSION_MAJOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 39 VBOX_VERSION_MINOR=`sed -e "s/^ *VBOX_VERSION_MINOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 40 VBOX_VERSION_BUILD=`sed -e "s/^ *VBOX_VERSION_BUILD *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 40 41 VBOX_SVN_REV=`sed -e 's/^ *VBOX_SVN_REV_FALLBACK *:= \+\$(patsubst *%:,, *\$Rev: *\([0-9]\+\) *\$ *) */\1/;t;d' $PATH_ROOT/Config.kmk` 41 42 VBOX_VENDOR=`sed -e 's/^ *VBOX_VENDOR *= \+\(.\+\)/\1/;t;d' $PATH_ROOT/Config.kmk` … … 111 112 install -D -m 0755 `echo $f|cut -d'=' -f1` "$PATH_TMP/vboxvideo/`echo $f|cut -d'>' -f2`" 112 113 done 114 sed -f $PATH_VBOXVIDEO/indent.sed -i $PATH_TMP/vboxvideo/*.[ch] 113 115 114 116 # convenience Makefile … … 120 122 rm $PATH_TMP/product-generated.h 121 123 124 # Do a test build 125 echo Doing a test build, this may take a while. 126 make -C $PATH_TMP > $PATH_LOG 2>&1 && 127 make -C $PATH_TMP clean >> $PATH_LOG 2>&1 || 128 echo "Warning: test build failed. Please check $PATH_LOG" 129 122 130 # Create the archive 123 131 tar -czf $FILE_OUT -C $PATH_TMP . || exit 1 -
trunk/src/VBox/HostDrivers/linux/export_modules
r58844 r69152 34 34 FILE_OUT="`cd \`dirname $1\`; pwd`/`basename $1`" 35 35 PATH_ROOT="`cd ${MY_DIR}/../../../..; pwd`" 36 PATH_LOG=/tmp/vbox-export-host.log 36 37 PATH_LINUX="$PATH_ROOT/src/VBox/HostDrivers/linux" 37 38 PATH_VBOXDRV="$PATH_ROOT/src/VBox/HostDrivers/Support" … … 40 41 PATH_VBOXPCI="$PATH_ROOT/src/VBox/HostDrivers/VBoxPci" 41 42 42 VBOX_VERSION_MAJOR=`sed -e "s/^ *VBOX_VERSION_MAJOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`43 VBOX_VERSION_MINOR=`sed -e "s/^ *VBOX_VERSION_MINOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`44 VBOX_VERSION_BUILD=`sed -e "s/^ *VBOX_VERSION_BUILD *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/ Config.kmk`43 VBOX_VERSION_MAJOR=`sed -e "s/^ *VBOX_VERSION_MAJOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 44 VBOX_VERSION_MINOR=`sed -e "s/^ *VBOX_VERSION_MINOR *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 45 VBOX_VERSION_BUILD=`sed -e "s/^ *VBOX_VERSION_BUILD *= \+\([0-9]\+\)/\1/;t;d" $PATH_ROOT/Version.kmk` 45 46 VBOX_VERSION_STRING=$VBOX_VERSION_MAJOR.$VBOX_VERSION_MINOR.$VBOX_VERSION_BUILD 46 47 VBOX_SVN_REV=`sed -e 's/^ *VBOX_SVN_REV_FALLBACK *:= \+\$(patsubst *%:,, *\$Rev: *\([0-9]\+\) *\$ *) */\1/;t;d' $PATH_ROOT/Config.kmk` VBOX_VENDOR=`sed -e 's/^ *VBOX_VENDOR *= \+\(.\+\)/\1/;t;d' $PATH_ROOT/Config.kmk` VBOX_VENDOR_SHORT=`sed -e 's/^ *VBOX_VENDOR_SHORT *= \+\(.\+\)/\1/;t;d' $PATH_ROOT/Config.kmk` VBOX_PRODUCT=`sed -e 's/^ *VBOX_PRODUCT *= \+\(.\+\)/\1/;t;d' $PATH_ROOT/Config.kmk` VBOX_C_YEAR=`date +%Y` … … 148 149 rm $PATH_TMP/product-generated.h 149 150 151 # Do a test build 152 echo Doing a test build, this may take a while. 153 make -C $PATH_TMP > $PATH_LOG 2>&1 && 154 make -C $PATH_TMP clean >> $PATH_LOG 2>&1 || 155 echo "Warning: test build failed. Please check $PATH_LOG" 156 150 157 # Create the archive 151 158 tar -czf $FILE_OUT -C $PATH_TMP . || exit 1
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器