Re: [PATCH] .gitignore: ignore Module.symvers in all directories

From: Michal Marek
Date: Wed Apr 16 2014 - 17:08:40 EST


On Mon, Apr 14, 2014 at 02:56:15PM +0800, Zhao, Gang wrote:
> When using `make M=/path/to/driver modules` to build a module, file
> Module.symvers will be created in that directory, so it's better to
> ignore it in all directories.
>
> Slightly reordered, let specific file names behind general ones.
>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: Kyungsik Lee <kyungsik.lee@xxxxxxx>
> Cc: Markus Trippelsdorf <markus@xxxxxxxxxxxxxxx>
> Signed-off-by: Zhao, Gang <gamerh2o@xxxxxxxxx>

Note that the easier way to build a subtree of the kernel source is

make path/to/driver/

including the trailing /. But the M=... syntax seems so widespread that
I have to apply this.

BTW: there is really no need to CC the last N people who touched
such a trivial file :).

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/