mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] globally ignore Module.symvers
@ 2010-04-19 14:42 Florian Fainelli
  2010-04-20 13:20 ` Michal Marek
  0 siblings, 1 reply; 3+ messages in thread
From: Florian Fainelli @ 2010-04-19 14:42 UTC (permalink / raw)
  To: linux-kernel; +Cc: Michal Marek

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 <ffainelli@freebox.fr>
---
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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] globally ignore Module.symvers
  2010-04-19 14:42 [PATCH] globally ignore Module.symvers Florian Fainelli
@ 2010-04-20 13:20 ` Michal Marek
  2010-04-20 13:21   ` Florian Fainelli
  0 siblings, 1 reply; 3+ messages in thread
From: Michal Marek @ 2010-04-20 13:20 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] globally ignore Module.symvers
  2010-04-20 13:20 ` Michal Marek
@ 2010-04-20 13:21   ` Florian Fainelli
  0 siblings, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2010-04-20 13:21 UTC (permalink / raw)
  To: Michal Marek; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-20 13:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-19 14:42 [PATCH] globally ignore Module.symvers Florian Fainelli
2010-04-20 13:20 ` Michal Marek
2010-04-20 13:21   ` Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome