VirtualBox

Changeset 102909 in vbox for trunk/src


Ignore:
Timestamp:
Jan 16, 2024 11:59:08 PM (13 months ago)
Author:
vboxsync
Message:

Devices/EFI/Firmware: Don't try using python 2.x when python 3.x is required. bugref:4643

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware/Config.kmk

    r101297 r102909  
    7171endif
    7272
    73 # EFI requires python v2.x, so provide a way to select that while using 3.x for the rest of VBox.
    74 ifndef VBOX_BLD_PYTHON_2X
    75  VBOX_BLD_PYTHON_2X = $(VBOX_BLD_PYTHON)
    76 endif
    7773
    7874#
  • trunk/src/VBox/Devices/EFI/Firmware/Makefile.kmk

    r100477 r102909  
    8888        $$(APPEND) -tn "$$@" \
    8989                '@SET PYTHONPATH=$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python' \
    90                 '@"$$(VBOX_BLD_PYTHON_2X)" "$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/$(PyWrap)/$(PyWrap).py" %*'
     90                '@"$$(VBOX_BLD_PYTHON)" "$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/$(PyWrap)/$(PyWrap).py" %*'
    9191 endef
    9292else
     
    9696                '#!$(ASH)' \
    9797                'export PYTHONPATH="$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python"' \
    98                 'exec "$$(VBOX_BLD_PYTHON_2X)" "$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/$(PyWrap)/$(PyWrap).py" "$$(DOLLAR)@"'
     98                'exec "$$(VBOX_BLD_PYTHON)" "$$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/$(PyWrap)/$(PyWrap).py" "$$(DOLLAR)@"'
    9999        $$(CHMOD) a+x "$$@"
    100100 endef
     
    279279        -E $(if-expr "$(KBUILD_VERBOSE)" != "",'EFI_QUIET=','EFI_QUIET=@') \
    280280        -C '$(VBOX_PATH_EFI_FIRMWARE)' \
    281         -- $(VBOX_BLD_PYTHON_2X) "$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/build/build.py" \
     281        -- $(VBOX_BLD_PYTHON) "$(VBOX_PATH_EFI_FIRMWARE)/BaseTools/Source/Python/build/build.py" \
    282282        -D VBOX=1 \
    283283        -D VBOX_WITH_OVMF=1 \
Note: See TracChangeset for help on using the changeset viewer.

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