VirtualBox

Changeset 9908

Show
Ignore:
Timestamp:
06/25/08 13:45:14 (4 months ago)
Author:
vboxsync
Message:

Keep the VBOX_WITH_ADDITION_DRIVERS definition in one spot.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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 

© 2008 Sun Microsystems, Inc.
ContactPrivacy policy