Changeset 15691 in vbox
- Timestamp:
- Dec 19, 2008 1:29:23 PM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 2 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) -
trunk/src/VBox/HostDrivers/VBoxNetFlt/linux/Makefile
r15527 r15691 210 210 ifeq ($(BUILD_TARGET_ARCH),amd64) 211 211 KFLAGS += -DRT_ARCH_AMD64 212 # must be consistent with Config.kmk!213 KFLAGS += -DVBOX_WITH_64_BITS_GUESTS214 212 else 215 213 KFLAGS += -DRT_ARCH_X86 216 214 endif 215 # must be consistent with Config.kmk! 216 KFLAGS += -DVBOX_WITH_64_BITS_GUESTS 217 217 ifeq ($(BUILD_TYPE),debug) 218 218 KFLAGS += -DDEBUG -DDEBUG_$(USER) -g
Note:
See TracChangeset
for help on using the changeset viewer.