VirtualBox

Changeset 15691 in vbox


Ignore:
Timestamp:
Dec 19, 2008 1:29:23 PM (16 years ago)
Author:
vboxsync
Message:

Linux host kernel modules: removed 2.4 cruft; fixed VBOX_WITH_64_BITS_GUESTS

Location:
trunk/src/VBox/HostDrivers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/linux/Makefile

    r14436 r15691  
    228228ifeq ($(BUILD_TARGET_ARCH),amd64)
    229229 KFLAGS  += -DRT_ARCH_AMD64
    230  # must be consistent with Config.kmk!
    231  KFLAGS  += -DVBOX_WITH_64_BITS_GUESTS
    232230else
    233231 KFLAGS  += -DRT_ARCH_X86
    234232endif
     233# must be consistent with Config.kmk!
     234KFLAGS  += -DVBOX_WITH_64_BITS_GUESTS
    235235ifeq ($(BUILD_TYPE),debug)
    236236 KFLAGS  += -DDEBUG -DDEBUG_$(USER) -g
     
    251251endif
    252252
    253 ifeq ($(KERN_VERSION),24)
    254 # 2.4
    255 TOPDIR         = $(KERN_DIR)
    256 MODULE_EXT    := o
    257 EXTRA_CFLAGS  := -DVBOX_LINUX_2_4 -DEXPORT_SYMTAB
    258 $(MODULE)-objs = $(OBJS)
    259 else
    260253# 2.6 and later
    261254MODULE_EXT    := ko
    262255$(MODULE)-y   := $(OBJS)
    263 endif
    264256
    265257# build defs
     
    272264$(MODULE):
    273265        $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules
    274 
    275 ifeq ($(KERN_VERSION),24)
    276 #
    277 # 2.4 Module linking
    278 #
    279 $(MODULE).o: $(OBJS)
    280         $(LD) -o $@ -r $(OBJS)
    281 
    282 include $(KERN_DIR)/Rules.make
    283 
    284 endif
    285266
    286267install: $(MODULE)
  • trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile

    r15527 r15691  
    210210ifeq ($(BUILD_TARGET_ARCH),amd64)
    211211 KFLAGS  += -DRT_ARCH_AMD64
    212  # must be consistent with Config.kmk!
    213  KFLAGS  += -DVBOX_WITH_64_BITS_GUESTS
    214212else
    215213 KFLAGS  += -DRT_ARCH_X86
    216214endif
     215# must be consistent with Config.kmk!
     216KFLAGS  += -DVBOX_WITH_64_BITS_GUESTS
    217217ifeq ($(BUILD_TYPE),debug)
    218218 KFLAGS  += -DDEBUG -DDEBUG_$(USER) -g
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