VirtualBox

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

File:
1 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)
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