VirtualBox

Changeset 64270 in vbox


Ignore:
Timestamp:
Oct 14, 2016 6:19:12 AM (8 years ago)
Author:
vboxsync
Message:

bugref:3810: X11 Guest Additions maintenance: Add two new defines - VBOX_USE_SYSTEM_GL_HEADERS and VBOX_NO_LEGACY_XORG_X11 - for the benefit of people doing distribution builds. They make us use system OpenGL headers for building our libGL and prevent us building X.Org drivers and stub libraries for linking on old distributions. These changes are to be tested by people who need them, not by upstream developers.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r64269 r64270  
    23792379
    23802380 if1of ($(KBUILD_TARGET), freebsd linux solaris)
    2381  # VBOX_PATH_MESA_SOURCE = $(PATH_ROOT)/src/libs/mesa-7.2
    2382   VBOX_PATH_MESA_SOURCE = $(VBOX_PATH_X11_ROOT)/mesa-7.2
    2383   VBOX_GL_INCS = \
     2381  ifndef VBOX_USE_SYSTEM_GL_HEADERS
     2382   VBOX_GL_INCS = \
    23842383        $(VBOX_PATH_X11_ROOT)/glproto-1.4.10 \
    23852384        $(VBOX_PATH_X11_ROOT)/mesa-7.2
     2385  endif
    23862386 endif
    23872387
  • trunk/src/VBox/Additions/x11/Makefile.kmk

    r62530 r64270  
    2121if1of ($(KBUILD_TARGET), freebsd linux netbsd openbsd solaris)
    2222 include $(PATH_SUB_CURRENT)/VBoxClient/Makefile.kmk
    23  include $(PATH_SUB_CURRENT)/vboxvideo/Makefile.kmk
    24  ifneq ($(KBUILD_TARGET), solaris)
    25   include $(PATH_SUB_CURRENT)/vboxmouse/Makefile.kmk
    26  endif
    27  ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    28   include $(PATH_SUB_CURRENT)/x11stubs/Makefile.kmk
     23 ifndef VBOX_NO_LEGACY_XORG_X11
     24  include $(PATH_SUB_CURRENT)/vboxvideo/Makefile.kmk
     25  ifneq ($(KBUILD_TARGET), solaris)
     26   include $(PATH_SUB_CURRENT)/vboxmouse/Makefile.kmk
     27  endif
     28  # This should logically only be controlled by VBOX_NO_LEGACY_XORG_X11,
     29  # as it is not used for drivers at all, but rather to build X11 clients
     30  # on systems missing needed libraries.
     31  ## @todo fix at some later point when it will not break people's workflows.
     32  ifndef VBOX_USE_SYSTEM_XORG_HEADERS
     33   include $(PATH_SUB_CURRENT)/x11stubs/Makefile.kmk
     34  endif
    2935 endif
    3036endif
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