VirtualBox

Changeset 92590 in vbox


Ignore:
Timestamp:
Nov 24, 2021 10:32:04 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148474
Message:

configure, debian/rules, rpm/rules: Fix AUTOCFG handing in configure, eliminating the need to pass it in the build command line. Also fix the out directory handling when it is overridden. In that case there is no additional out subdirectory.

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r91557 r92590  
    27262726          # This variable has not *yet* been overridden.  That can still happen.
    27272727          ODIR=$OUT_BASE_PATH/
     2728          ODIR_OVERRIDE=1
    27282729        fi
    27292730      else
     
    28082809# if we will be writing to a different out directory then set this up now
    28092810if [ $ODIR_OVERRIDE -eq 1 ]; then
    2810   echo "AUTOCFG=$CFG" >> $ENV
     2811  echo "AUTOCFG=$ODIR" >> $ENV
    28112812  echo "export AUTOCFG" >> $ENV
    28122813fi
  • trunk/debian/rules

    r92273 r92590  
    5353instlin  := $(vboxroot)/src/VBox/Installer/linux
    5454pkgdir   := $(if $(PKGDIR),$(PKGDIR),$(shell cd $(vboxroot)/..; pwd))
    55 outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot))/out
     55outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot)/out)
    5656bldbase  := $(outdir)/debian
    5757builddir := $(bldbase)/builddir
     
    111111    --disable-extpack
    112112
    113 bld_flags := AUTOCFG=$(bldbase)/AutoConfig.kmk \
    114     LOCALCFG=$(debroot)/debian/LocalConfig.kmk \
     113bld_flags := LOCALCFG=$(debroot)/debian/LocalConfig.kmk \
    115114    PATH_OUT=$(builddir) \
    116115    VBOX_WITHOUT_EXTPACK_PUEL_PACKING=1 \
  • trunk/src/VBox/Installer/linux/debian/rules

    r92273 r92590  
    5959instlin  := $(vboxroot)/src/VBox/Installer/linux
    6060pkgdir   := $(if $(PKGDIR),$(PKGDIR),$(shell cd $(vboxroot)/..; pwd))
    61 outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot))/out
     61outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot)/out)
    6262bldbase  := $(outdir)/debian
    6363builddir := $(bldbase)/builddir
     
    134134    --disable-extpack
    135135
    136 bld_flags := AUTOCFG=$(bldbase)/AutoConfig.kmk \
    137     LOCALCFG=$(debroot)/debian/LocalConfig.kmk \
     136bld_flags := LOCALCFG=$(debroot)/debian/LocalConfig.kmk \
    138137    PATH_OUT=$(builddir) \
    139138    VBOX_WITHOUT_EXTPACK_PUEL_PACKING=1 \
  • trunk/src/VBox/Installer/linux/rpm/rules

    r90368 r92590  
    5050instlin  := $(vboxroot)/src/VBox/Installer/linux
    5151pkgdir   := $(if $(PKGDIR),$(PKGDIR),$(shell cd $(vboxroot)/..; pwd))
    52 outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot))/out
     52outdir   := $(if $(PATH_OUT_BASE),$(PATH_OUT_BASE),$(vboxroot)/out)
    5353bldbase  := $(outdir)/rpm
    5454builddir := $(bldbase)/builddir
     
    175175    --disable-extpack
    176176
    177 bld_flags := AUTOCFG=$(bldbase)/AutoConfig.kmk \
    178     LOCALCFG=$(instlin)/rpm/LocalConfig.kmk \
     177bld_flags := LOCALCFG=$(instlin)/rpm/LocalConfig.kmk \
    179178    PATH_OUT=$(builddir) \
    180179    VBOX_WITHOUT_EXTPACK_PUEL_PACKING=1 \
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette