Changeset 90118 in vbox for trunk/configure
- Timestamp:
- Jul 9, 2021 11:59:01 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145619
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r88425 r90118 71 71 ODIR="`pwd`/" 72 72 ODIR_OVERRIDE=0 73 OUT_ PATH=""74 OUT_ PATH_OVERRIDE=073 OUT_BASE_PATH="" 74 OUT_BASE_PATH_OVERRIDE=0 75 75 SETUP_WINE= 76 76 ONLY_ADDITIONS=0 … … 2416 2416 --with-openssl-dir=DIR directory for OpenSSL headers/libraries 2417 2417 --with-ow-dir=DIR directory where Open Watcom can be found [$WATCOM] 2418 --out- path=PATH the folder to whichconfiguration and build output2419 should go 2418 --out-base-dir=DIR directory where configuration and build output 2419 should go, in subdirectory out 2420 2420 2421 2421 Build type: … … 2663 2663 ODIR_OVERRIDE=1 2664 2664 ;; 2665 --out- path=*)2666 out_ path="`echo $option | cut -d'=' -f2`/"2667 if [ -d $out_ path]; then2668 saved_p ath="`pwd`"2669 cd $out_ path2670 OUT_ PATH="`pwd`"2671 cd $saved_p ath2672 OUT_ PATH_OVERRIDE=12665 --out-base-dir=*) 2666 out_base_dir="`echo $option | cut -d'=' -f2`/" 2667 if [ -d $out_base_dir ]; then 2668 saved_pwd="$PWD" 2669 cd $out_base_dir 2670 OUT_BASE_PATH="`pwd`" 2671 cd $saved_pwd 2672 OUT_BASE_PATH_OVERRIDE=1 2673 2673 if [ $ODIR_OVERRIDE -eq 0 ]; then 2674 2674 # This variable has not *yet* been overridden. That can still happen. 2675 ODIR=$OUT_ PATH/2675 ODIR=$OUT_BASE_PATH/ 2676 2676 fi 2677 2677 else 2678 echo "Error: invalid folder \"$out_ path\" in option \"$option\""2678 echo "Error: invalid folder \"$out_base_dir\" in option \"$option\"" 2679 2679 exit 1 2680 2680 fi … … 2755 2755 2756 2756 # if we will be writing to a different out directory then set this up now 2757 if [ $O UT_PATH_OVERRIDE -eq 1 ]; then2758 echo "AUTOCFG=$ OUT_PATH/AutoConfig.kmk" >> $ENV2757 if [ $ODIR_OVERRIDE -eq 1 ]; then 2758 echo "AUTOCFG=$CFG" >> $ENV 2759 2759 echo "export AUTOCFG" >> $ENV 2760 echo "LOCALCFG=$OUT_PATH/LocalConfig.kmk" >> $ENV 2761 echo "export LOCALCFG" >> $ENV 2762 echo "PATH_OUT_BASE=$OUT_ PATH" >> $ENV2760 fi 2761 if [ $OUT_BASE_PATH_OVERRIDE -eq 1 ]; then 2762 echo "PATH_OUT_BASE=$OUT_BASE_PATH" >> $ENV 2763 2763 echo "export PATH_OUT_BASE" >> $ENV 2764 2764 fi … … 2957 2957 echo "" 2958 2958 if [ "$OS" = "linux" ]; then 2959 if [ $OUT_ PATH_OVERRIDE -eq 1 ]; then2960 vbox_out_path=$OUT_PATH2959 if [ $OUT_BASE_PATH_OVERRIDE -eq 1 ]; then 2960 out_base_dir=$OUT_BASE_PATH 2961 2961 else 2962 vbox_out_path=./out2962 out_base_dir=. 2963 2963 fi 2964 2964 echo "To compile the kernel modules, do:" 2965 2965 echo "" 2966 echo " cd $ vbox_out_path/$OS.$TARGET_MACHINE/$BUILD_TYPE/bin/src"2966 echo " cd $out_base_dir/out/$OS.$TARGET_MACHINE/$BUILD_TYPE/bin/src" 2967 2967 echo " make" 2968 2968 echo ""
Note:
See TracChangeset
for help on using the changeset viewer.