--- vmnet-only/Makefile 2004-03-10 07:59:33.000000000 +0900 +++ vmnet-only/Makefile 2004-05-14 00:45:29.480685138 +0900 @@ -76,14 +76,18 @@ MAKEOVERRIDES := $(filter-out CC=%,$(MAKEOVERRIDES)) $(DRIVER_KO): +ifdef EXTRAVERSION + make -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) EXTRAVERSION=$(EXTRAVERSION) modules +else make -C $(BUILD_DIR) SUBDIRS=$$PWD SRCROOT=$$PWD/$(SRCROOT) modules +endif else ifneq ($(VM_CCVER), $(VMCCVER)) $(warning *** Inappropriate build environment: you wanted to use gcc \ version $(VM_CCVER) while kernel attempts to use gcc version $(VMCCVER).) -$(error For proper build you'll have to replace $(CC) with symbolic \ +$(error For proper build you will have to replace $(CC) with symbolic \ link to $(VM_CC)) endif