VirtualBox

Ignore:
Timestamp:
Oct 9, 2012 9:15:37 PM (12 years ago)
Author:
vboxsync
Message:

Additions/x11: add option to build X.Org drivers against system headers only (build with VBOX_USE_SYSTEM_XORG_HEADERS=1).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r43278 r43588  
    239239endif # neq ($(KBUILD_TARGET),linux)
    240240
     241
     242ifdef VBOX_USE_SYSTEM_XORG_HEADERS
     243 # As vboxmouse_drv is not needed at all for X.Org Server 1.7 and later do not
     244 # build it in this case.
     245 DLLS    := $(filter-out vboxmouse_drv_%,$(DLLS))
     246 SYSMODS := $(filter-out vboxmouse_drv%,$(SYSMODS))
     247endif
     248
     249
    241250# Check the undefined symbols in the X.Org modules against lists of allowed
    242251# symbols.  Not very elegant, but it will catch problems early.
    243252ifdef VBOX_WITH_TESTCASES
    244253# ifndef VBOX_ONLY_ADDITIONS
     254 ifndef VBOX_USE_SYSTEM_XORG_HEADERS
    245255  ifeq ($(KBUILD_TARGET),linux)
    246256   ifeq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
     
    361371   endif # eq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
    362372  endif # eq ($(KBUILD_TARGET),linux)
     373 endif # ! VBOX_USE_SYSTEM_XORG_HEADERS
    363374# endif # ! VBOX_ONLY_ADDITIONS
    364375endif # VBOX_WITH_TESTCASES
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