[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87eh0wz55v.fsf@gmail.com>
Date: Thu, 17 Apr 2014 17:17:16 +0800
From: "Zhao\, Gang" <gamerh2o@...il.com>
To: Michal Marek <michal.marek@...fyz.cz>
Cc: LKML <linux-kernel@...r.kernel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Kyungsik Lee <kyungsik.lee@....com>,
Markus Trippelsdorf <markus@...ppelsdorf.de>
Subject: Re: [PATCH] .gitignore: ignore Module.symvers in all directories
On Wed, 2014-04-16 at 23:08:26 +0200, Michal Marek wrote:
> 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@...ux-foundation.org>
>> Cc: Kyungsik Lee <kyungsik.lee@....com>
>> Cc: Markus Trippelsdorf <markus@...ppelsdorf.de>
>> Signed-off-by: Zhao, Gang <gamerh2o@...il.com>
>
> Note that the easier way to build a subtree of the kernel source is
>
> make path/to/driver/
>
Thanks for pointing out this.
> including the trailing /. But the M=... syntax seems so widespread that
> I have to apply this.
>
The M=... syntax is the first I learned to build a module. I think it's
popular because one can build out of tree drivers by using it(adding
C=...). As you said, it's better to use `make path/to/driver/` to build
in-tree drivers.
> BTW: there is really no need to CC the last N people who touched
> such a trivial file :).
>
./scripts/get_maintainer.pl doesn't return the maintainer of this
file. Maybe you can add this file to MAINTAINERS(telling you are the
maintainer), but it's really so trivial. :-)
> Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists