Re: [PATCH v2] kbuild: forbid kernel directory to contain spaces and colons

From: Michal Marek
Date: Tue May 10 2016 - 11:05:59 EST


On Sat, Apr 02, 2016 at 09:38:53PM +0200, Robert Jarzmik wrote:
> When the kernel path contains a space or a colon somewhere in the path
> name, the modules_install target doesn't work anymore, as the path names
> are not enclosed in double quotes. It is also supposed that and O= build
> will suffer from the same weakness as modules_install.
>
> Instead of checking and improving kbuild to resist to directories
> including these characters, error out early to prevent any build if the
> kernel's main directory contains a space.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>
> ---
> Since v1: add colon check as requested by Michal.
> ---
> Makefile | 4 ++++
> 1 file changed, 4 insertions(+)

Applied to kbuild.git#kbuild.

Michal