Re: [PATCH 1/1] kbuild: use $(srctree) to locate config headers from external modules

From: Michal Marek
Date: Mon Aug 04 2014 - 10:10:29 EST


On 2014-08-01 21:47, Devin J. Pohly wrote:
> When making modules_install for an out-of-tree module, the current
> directory is $(KBUILD_OUTPUT), and the Makefile recipe which verifies
> the existence of files in include/config is unable to find them using a
> relative path. This leads to a spurious and puzzling "Kernel
> configuration is invalid" warning when no configuration is actually
> needed.

include/generated is located in $(KBUILD_OUTPUT), which is different
from $(srctree) when using O=. Can you post a sequence of commands that
leads to the error you are seeing?

Thanks,
Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/