Changeset 16257 in vbox for trunk/configure
- Timestamp:
- Jan 27, 2009 10:28:31 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r16202 r16257 50 50 OSE=1 51 51 ODIR="`pwd`/" 52 ODIR_OVERRIDE=0 53 OUT_PATH="" 54 OUT_PATH_OVERRIDE=0 52 55 SETUP_WINE= 53 56 TARGET_MACHINE="" … … 1726 1729 --with-qt-dir=DIR directory for Qt4 headers/libraries [pkgconfig] 1727 1730 --with-gsoap-dir=PATH directory for SOAP compiler (soapcpp2 and wsdl2h) 1731 --out-path=PATH the folder to which configuration and build output 1732 should go 1728 1733 1729 1734 Build type: … … 1841 1846 --odir=*) 1842 1847 ODIR="`echo $option | cut -d'=' -f2`/" 1848 ODIR_OVERRIDE=1 1849 ;; 1850 --out-path=*) 1851 out_path="`echo $option | cut -d'=' -f2`/" 1852 if [ -d $out_path ]; then 1853 saved_path="`pwd`" 1854 cd $out_path 1855 OUT_PATH="`pwd`/" 1856 cd $saved_path 1857 OUT_PATH_OVERRIDE=1 1858 if [ $ODIR_OVERRIDE -eq 0 ]; then 1859 # This variable has not *yet* been overridden. That can still happen. 1860 ODIR=$OUT_PATH 1861 fi 1862 else 1863 echo "Error: invalid folder \"$out_path\" in option \"$option\"" 1864 exit 1 1865 fi 1843 1866 ;; 1844 1867 --setup-wine) … … 1912 1935 echo "$PATH" | grep -q "$DEVDIR_BIN" || PATH="$PATH:$DEVDIR_BIN" 1913 1936 export PATH 1937 1938 # if we will be writing to a different out directory then set this up now 1939 if [ $OUT_PATH_OVERRIDE -eq 1 ]; then 1940 echo "export AUTOCFG=$OUT_PATH""AutoConfig.kmk" >> $ENV 1941 echo "export LOCALCFG=$OUT_PATH""LocalConfig.kmk" >> $ENV 1942 echo "export PATH_OUT_BASE=$OUT_PATH" >> $ENV 1943 fi 1914 1944 1915 1945 # some things are not available in for OSE … … 2031 2061 echo "" 2032 2062 if [ "$OS" = "linux" ]; then 2063 if [ $OUT_PATH_OVERRIDE -eq 1 ]; then 2064 vbox_out_path=$OUT_PATH 2065 else 2066 vbox_out_path=./out/ 2067 fi 2033 2068 echo "To compile the kernel module, do:" 2034 2069 echo "" 2035 echo " cd ./out/$OS.$TARGET_MACHINE/$BUILD_TYPE/bin/src/vboxdrv"2070 echo " cd $vbox_out_path$OS.$TARGET_MACHINE/$BUILD_TYPE/bin/src/vboxdrv" 2036 2071 echo " make" 2037 2072 echo ""
Note:
See TracChangeset
for help on using the changeset viewer.