VirtualBox

Changeset 98758 in vbox for trunk/src/VBox/Devices/PC


Ignore:
Timestamp:
Feb 27, 2023 3:43:57 PM (2 years ago)
Author:
vboxsync
Message:

Devices/PC/ipxe: Enable building the ROM on Linux again now that we have liblzma available, bugref:10254

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/PC/ipxe/Makefile.kmk

    r98133 r98758  
    4646        $(iPxeBiosBin_0_OUTDIR)/iPxeBiosBin.c \
    4747
    48 # Disabled building on Linux as well until liblzma is available on the build boxes @bugref{10254}
    49 if1of ($(KBUILD_TARGET), darwin os2 solaris win linux)
     48if1of ($(KBUILD_TARGET), darwin os2 solaris win)
    5049 $$(iPxeBiosBin_0_OUTDIR)/iPxeBiosBin.c: $(PATH_SUB_CURRENT)/iPxeBiosBin.rom $(VBOX_BIN2C) | $$(dir $$@)
    5150        $(call MSG_TOOL,bin2c,iPxeBiosBin,$<,$@)
     
    176175 TEMPLATE_iPxe_DEFS = \
    177176        ARCH=i386 \
    178         PLATFORM=pcbios \
    179         VERSION_MAJOR=1 \
    180         VERSION_MINOR=0 \
    181         VERSION_PATCH=0 \
     177        PLATFORM=pcbios  \
     178        VERSION_MAJOR=1  \
     179        VERSION_MINOR=21 \
     180        VERSION_PATCH=1 \
    182181        ASM_TCHAR=@ \
    183182        ASM_TCHAR_OPS=@
     
    404403 ipxezbin_CFLAGS   = -Wno-format -Wno-unused-function -Wno-pointer-arith
    405404 ipxezbin_SOURCES  = src/util/zbin.c
    406  ipxezbin_LIBS     = lzma # @todo Can't assume liblzma on the build system
     405 ifdef VBOX_WITH_LIBLZMA
     406  ipxezbin_INCS     = $(SDK_VBoxLibLzma_INCS) # Can't use the proper SDK here as link order matters and liblzma depends on our runtime.
     407  ipxezbin_LIBS    = \
     408        $(SDK_VBoxLibLzma_LIBS) \
     409        $(PATH_STAGE_LIB)/RuntimeBldProg$(VBOX_HOSTSUFF_LIB)
     410 else
     411  ipxezbin_LIBS = lzma # Assume it is installed on the system ready for linking
     412 endif
    407413
    408414endif
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