I use git to manage my kernel sources, so I like to keep my output build files in a separate directory in my home folder. I have KBUILD_OUTPUT specified in my configuration and pointing to the appropriate directory. With kernel versions less than 3.0, this has worked perfectly and the nvidia driver has handled this fine. Now with 3.0.x however, the nvidia driver is only able to determine the version when the kernel is built in the same directory as the sources and KBUILD_OUTPUT is unset. It probably has something to do with the Makefile in my build directory looking like this: # Automatically generated by /usr/src/linux-2.6/scripts/mkmakefile: don't edit VERSION = 3 PATCHLEVEL = 0 lastword = $(word $(words $(1)),$(1)) makedir := $(dir $(call lastword,$(MAKEFILE_LIST))) MAKEARGS := -C /usr/src/linux-2.6 MAKEARGS += O=$(if $(patsubst /%,,$(makedir)),$(CURDIR)/)$(patsubst %/,%,$(makedir)) MAKEFLAGS += --no-print-directory .PHONY: all $(MAKECMDGOALS) all := $(filter-out all Makefile,$(MAKECMDGOALS)) all: $(MAKE) $(MAKEARGS) $(all) Makefile:; $(all): all @: %/: all @: As the Makefile there only has a Version and a Patchlevel, the nvidia driver make system can't make out the version. Reproducible: Always
Created attachment 286141 [details] Build Log
No current release supports 3.0. Additionally, we don't support git kernels.