VirtualBox

Changeset 9908 in vbox


Ignore:
Timestamp:
Jun 25, 2008 11:45:14 AM (16 years ago)
Author:
vboxsync
Message:

Keep the VBOX_WITH_ADDITION_DRIVERS definition in one spot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r9823 r9908  
    141141endif
    142142# Build the optional ring-0 part of the additions for syntax checking.
    143 # (Ignored ifndef VBOX_WITH_ADDITIONS. Hack for 32/64 linux issues.)
    144 VBOX_WITH_ADDITION_DRIVERS = 1
     143# (Except when cross-building on linux since we're using /usr/src/...)
     144ifn1of ($(KBUILD_TARGET).$(KBUILD_HOST_ARCH).$(KBUILD_TARGET_ARCH), linux.x86.amd64 linux.amd64.x86)
     145 VBOX_WITH_ADDITION_DRIVERS = 1
     146endif
    145147# Build X11 additions. Can be disabled separately.
    146148if1of ($(KBUILD_TARGET), dragonfly freebsd linux netbsd openbsd solaris)
     
    289291else
    290292# VBOX_WITH_64_BITS_GUESTS = 1
    291 endif
    292 # Don't cross-build Linux sanity test modules
    293 ifeq ($(KBUILD_TARGET),linux)
    294  ifneq ($(KBUILD_HOST_ARCH),$(KBUILD_TARGET_ARCH))
    295   VBOX_WITH_ADDITION_DRIVERS =
    296  endif
    297293endif
    298294# Enable the host/guest information service and registry
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