VirtualBox

Changeset 46147 in vbox for trunk/src/VBox/Additions/x11


Ignore:
Timestamp:
May 17, 2013 3:35:09 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
85846
Message:

Additions/linux: build 32-bit versions too for COMPATIBLE builds.

Location:
trunk/src/VBox/Additions/x11
Files:
3 edited

Legend:

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

    r42261 r46147  
    7676endif
    7777
     78# 32-bit version for the 64-bit Linux Additions
     79ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64)
     80 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
     81  PROGRAMS += VBoxClient_32
     82  VBoxClient_32_EXTENDS  = VBoxClient
     83  VBoxClient_32_TEMPLATE = NewVBoxGuestR3Exe_X86
     84  VBoxClient_32_NAME     = VBoxClient
     85 endif
     86endif
     87
    7888ifdef VBOX_X11_SEAMLESS_GUEST
    7989 if defined(VBOX_WITH_TESTCASES) && !defined(VBOX_ONLY_ADDITIONS) && !defined(VBOX_ONLY_SDK)
  • trunk/src/VBox/Additions/x11/vboxmouse/Makefile.kmk

    r44528 r46147  
    239239endif # neq ($(KBUILD_TARGET),linux)
    240240
     241# 32-bit modules for the 64-bit Linux Additions
     242ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64)
     243 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
     244  SYSMODS += vboxmouse_drv_32
     245  vboxmouse_drv_32_EXTENDS  = vboxmouse_drv
     246  vboxmouse_drv_32_TEMPLATE = VBOXGUESTR3XF86MOD_X86
     247  vboxmouse_drv_32_NAME     = vboxmouse_drv
     248  $(foreach i,$(filter vboxmouse_drv_%,$(DLLS)),$(eval DLLS += $(i)_32))
     249  $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_EXTENDS = $(subst _32,,$(i))))
     250  $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_TEMPLATE = VBOXGUESTR3XORGMOD_X86))
     251  $(foreach i,$(filter vboxmouse_drv_%_32,$(DLLS)),$(eval $(i)_NAME = $(subst _32,,$(i))))
     252 endif
     253endif
    241254
    242255ifdef VBOX_USE_SYSTEM_XORG_HEADERS
  • trunk/src/VBox/Additions/x11/vboxvideo/Makefile.kmk

    r46021 r46147  
    333333
    334334
     335# 32-bit modules for the 64-bit Linux Additions
     336ifeq ($(KBUILD_TARGET).$(KBUILD_TARGET_ARCH),linux.amd64)
     337 ifneq ($(VBOX_WITH_COMPATIBLE_LINUX_GUEST_PACKAGE),)
     338  SYSMODS += vboxvideo_drv_32
     339  vboxvideo_drv_32_EXTENDS  = vboxvideo_drv
     340  vboxvideo_drv_32_TEMPLATE = VBOXGUESTR3XF86MOD_X86
     341  vboxvideo_drv_32_NAME     = vboxvideo_drv
     342  $(foreach i,$(filter vboxvideo_drv_%,$(DLLS)),$(eval DLLS += $(i)_32))
     343  $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_EXTENDS = $(subst _32,,$(i))))
     344  $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_TEMPLATE = VBOXGUESTR3XORGMOD_X86))
     345  $(foreach i,$(filter vboxvideo_drv_%_32,$(DLLS)),$(eval $(i)_NAME = $(subst _32,,$(i))))
     346 endif
     347endif
     348
    335349ifdef VBOX_USE_SYSTEM_XORG_HEADERS
    336350 # Build using local X.Org headers.  We assume X.Org Server 1.7 or later.
     
    351365endif
    352366
    353 
    354367# Check the undefined symbols in the X.Org modules against lists of allowed
    355368# symbols.  Not very elegant, but it will catch problems early.
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