Skip to contentSkip to conversation

globally ignore Module.symvers

PATCH In review Florian Fainelli 2 participants 3 messages Apr 19, 2010 – Apr 20, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

.gitignore +1 -1
index a2939fc..441bf1b 100644
@@ -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
#1 lore raw
Quoted 3 lines · Florian Fainelli

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

#2 lore raw
Quoted 8 lines · On Tuesday 20 April 2010 15:20:05 Michal Marek wrote:
Quoted 3 lines · Florian Fainelli

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