On Wed, 2019-01-30 at 16:03 +0100, Gianfranco Costamagna wrote:
> Hello Ben,
> > The bug is in the makefile you provide to module-assistant.
> 
> I'm sorry but I have no clue about how to fix it...
> Can you please help me in fixing the issue?

In debian/virtualbox-guest-source.files/rules/, you call the kernel
build system like this:

        $(MAKE) -C $(KSRC) M=$(CURDIR)

But in the clean rule, you call the upstream Makefiles directly, and
they try to use the kernel build scripts for the running kernel.  You
should probably use something like:

        $(MAKE) -C $(KSRC) M=$(CURDIR) clean

Ben.

-- 
Ben Hutchings
The two most common things in the universe are hydrogen and stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to