getfilevar from linux-info.eclass executes make with a command line target after inclusion of the kernel makefile. This leads to this rule depending on cdbuilddir (from the kernel makefile), which rule executes a separate make on the kernel makefile. This make does not have a definition of the original target and fails. This can be amended by defining our target before including the kernel makefile, and executing it as the default target. This approach should also work on previous kernels. On a sidenote, maybe the target should get a more complex name to avoid possible addition of dependencies by the included Makefile.
Created attachment 78655 [details, diff] Fixes linux-info.eclass to correctly extract variables from recent kernel's makefiles.
Sorry, by the kbuild-output, I meant where abouts does it get set?
ignore that :)
*** Bug 119870 has been marked as a duplicate of this bug. ***
this has been applied locally - will test and commit shortly. Nice catch, and thanks.
in CVS now. THanks.