Changeset 15691 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Dec 19, 2008 1:29:23 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/linux/Makefile
r14436 r15691 228 228 ifeq ($(BUILD_TARGET_ARCH),amd64) 229 229 KFLAGS += -DRT_ARCH_AMD64 230 # must be consistent with Config.kmk!231 KFLAGS += -DVBOX_WITH_64_BITS_GUESTS232 230 else 233 231 KFLAGS += -DRT_ARCH_X86 234 232 endif 233 # must be consistent with Config.kmk! 234 KFLAGS += -DVBOX_WITH_64_BITS_GUESTS 235 235 ifeq ($(BUILD_TYPE),debug) 236 236 KFLAGS += -DDEBUG -DDEBUG_$(USER) -g … … 251 251 endif 252 252 253 ifeq ($(KERN_VERSION),24)254 # 2.4255 TOPDIR = $(KERN_DIR)256 MODULE_EXT := o257 EXTRA_CFLAGS := -DVBOX_LINUX_2_4 -DEXPORT_SYMTAB258 $(MODULE)-objs = $(OBJS)259 else260 253 # 2.6 and later 261 254 MODULE_EXT := ko 262 255 $(MODULE)-y := $(OBJS) 263 endif264 256 265 257 # build defs … … 272 264 $(MODULE): 273 265 $(MAKE) KBUILD_VERBOSE=$(KBUILD_VERBOSE) -C $(KERN_DIR) SUBDIRS=$(CURDIR) SRCROOT=$(CURDIR) modules 274 275 ifeq ($(KERN_VERSION),24)276 #277 # 2.4 Module linking278 #279 $(MODULE).o: $(OBJS)280 $(LD) -o $@ -r $(OBJS)281 282 include $(KERN_DIR)/Rules.make283 284 endif285 266 286 267 install: $(MODULE)
Note:
See TracChangeset
for help on using the changeset viewer.