2010-04-19 14:43:43

by Florian Fainelli

[permalink] [raw]
Subject: [PATCH] globally ignore Module.symvers

If we build using make SUBDIRS=foo/ Kbuild will output per-directory
Module.symvers files that we do not want to keep track of. Ignore these files
globally.

Signed-off-by: Florian Fainelli <[email protected]>
---
diff --git a/.gitignore b/.gitignore
index a2939fc..441bf1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -41,7 +41,7 @@ modules.builtin
/vmlinuz
/System.map
/Module.markers
-/Module.symvers
+Module.symvers

#
# git files that we don't want to ignore even it they are dot-files


2010-04-20 13:20:08

by Michal Marek

[permalink] [raw]
Subject: Re: [PATCH] globally ignore Module.symvers

On 19.4.2010 16:42, Florian Fainelli wrote:
> If we build using make SUBDIRS=foo/ Kbuild will output per-directory
> Module.symvers files that we do not want to keep track of. Ignore these files
> globally.

SUBDIRS= or M= is meant for external modules, which generate their own
Module.symvers. If you only need to build a part of the kernel sources,
use 'make dir/'.

Michal

2010-04-20 13:22:39

by Florian Fainelli

[permalink] [raw]
Subject: Re: [PATCH] globally ignore Module.symvers

On Tuesday 20 April 2010 15:20:05 Michal Marek wrote:
> On 19.4.2010 16:42, Florian Fainelli wrote:
> > If we build using make SUBDIRS=foo/ Kbuild will output per-directory
> > Module.symvers files that we do not want to keep track of. Ignore these
> > files globally.
>
> SUBDIRS= or M= is meant for external modules, which generate their own
> Module.symvers. If you only need to build a part of the kernel sources,
> use 'make dir/'.

I was not aware of that, thank you Michal.
--
Florian