path: root/.gitignore
AgeCommit message (Collapse)AuthorLines
2016-04-28gitignore: fix wordingKyeongmin Cho-1/+1
Git files are the files that we don't want to ignore even if they are dot-files. It must be "even if" but it says "even it". Signed-off-by: Kyeongmin Cho <> Signed-off-by: Jiri Kosina <>
2015-09-08Merge branch 'misc' of ↵Linus Torvalds-0/+5
git:// Pull misc kbuild updates from Michal Marek: - deb-pkg: + module signing fix + dtb files are added to the package + do not require `hostname -f` to work during build + make deb-pkg generates a source package, bindeb-pkg has been added to only generate the binary package - rpm-pkg packages /lib/modules as well - new coccinelle patch and updates to existing ones - new stackusage & stackdelta script to collect and compare stack usage info (using gcc's -fstack-usage) - make tags understands trace_*_rcuidle() macros - .gitignore updates, misc cleanups * 'misc' of git:// (27 commits) deb-pkg: add source package package/Makefile: move source tar creation to a function scripts: add stackdelta script kbuild: remove *.su files generated by -fstack-usage .gitignore: add *.su pattern scripts: add stackusage script kbuild: avoid listing /lib/modules in kernel spec file fallback to hostname in scripts/package/builddeb coccinelle: api: extend spatch for dropping unnecessary owner deb-pkg: simplify directory creation scripts/ Include trace_*_rcuidle() in tags scripts/package/Makefile: rpmbuild is needed for rpm targets Kbuild: Add ID files to .gitignore gitignore: Add MIPS vmlinux.32 to the list coccinelle: simple_return: Add a blank line coccinelle: irqf_oneshot.cocci: Improve the generated commit log coccinelle: api: add vma_pages.cocci scripts/coccinelle/misc/irqf_oneshot.cocci: Fix grammar scripts/coccinelle/misc/semicolon.cocci: Use imperative mood coccinelle: simple_open: Use imperative mood ...
2015-08-28.gitignore: add *.su patternRasmus Villemoes-0/+1
Ignore the *.su files generated by using the gcc option -fstack-usage. Signed-off-by: Rasmus Villemoes <> Signed-off-by: Michal Marek <>
2015-08-07modsign: Use single PEM file for autogenerated keyDavid Woodhouse-0/+1
The current rule for generating signing_key.priv and signing_key.x509 is a classic example of a bad rule which has a tendency to break parallel make. When invoked to create *either* target, it generates the other target as a side-effect that make didn't predict. So let's switch to using a single file signing_key.pem which contains both key and certificate. That matches what we do in the case of an external key specified by CONFIG_MODULE_SIG_KEY anyway, so it's also slightly cleaner. Signed-off-by: David Woodhouse <> Signed-off-by: David Howells <>
2015-06-15Kbuild: Add ID files to .gitignoreAndi Kleen-0/+3
I use GNU id-utils to find code (essentially a database backed grep), which generates an ID file to maintain its data. Add ID to the .gitignore file. Signed-off-by: Andi Kleen <> Signed-off-by: Michal Marek <>
2015-06-15gitignore: Add MIPS vmlinux.32 to the listFlorian Fainelli-0/+1
MIPS64 kernels builds will produce a vmlinux.32 kernel image for compatibility, ignore them. Signed-off-by: Florian Fainelli <> Signed-off-by: Michal Marek <>
2015-04-17.gitignore: ignore *.tarAndrey Skvortsov-0/+1
Running make tar-pkg results in following: # Untracked files: # (use "git add <file>..." to include in what will be committed) # # linux-4.0.0-rc3-next-20150313-150225--x86.tar This patch makes git ignore *.tar files. Running 'git ls-files -i --exclude-standard' does not show any tar files excluded from tracking after the change. Signed-off-by: Andrey Skvortsov <> Cc: Michal Marek <> Cc: Greg Kroah-Hartman <> Cc: Boaz Harrosh <> Cc: Andi Kleen <> Cc: Benjamin Romer <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2015-02-17scripts/gdb: ignore byte-compiled python filesDaniel Thompson-0/+1
Using the gdb scripts leaves byte-compiled python files in the scripts/ directory. These should be ignored by git. [ drop redundant mrproper rule as suggested by Michal] Signed-off-by: Daniel Thompson <> Signed-off-by: Jan Kiszka <> Cc: Michal Marek <> Cc: Thomas Gleixner <> Cc: Jason Wessel <> Cc: Andi Kleen <> Cc: Ben Widawsky <> Cc: Borislav Petkov <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2015-02-12gitignore: ignore tar-install build directoryAndrey Skvortsov-0/+5
Have git ignore the Debian directory created when running: make tar-pkg / targz-pkg / tarbz2-pkg / tarxz-pkg Signed-off-by: Andrey Skvortsov <> Cc: Michal Marek <> Cc: Greg Kroah-Hartman <> Cc: Boaz Harrosh <> Cc: Andi Kleen <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2014-11-25.gitignore: Add Kdevelop4 project filesBoaz Harrosh-0/+3
I'm not sure what is the costume with such IDE project files. Most might be dot-files. It is kind of annoying for the Kdevelop4 user. So please consider adding *.kdev4 files to be ignored? Signed-off-by: Boaz Harrosh <> [mmarek: Moved at the and and added a comment] Signed-off-by: Michal Marek <>
2014-07-30kbuild: Support split debug info v4Andi Kleen-0/+1
This is an alternative approach to lower the overhead of debug info (as we discussed a few days ago) gcc 4.7+ and newer binutils have a new "split debug info" debug info model where the debug info is only written once into central ".dwo" files. This avoids having to copy it around multiple times, from the object files to the final executable. It lowers the disk space requirements. In addition it defaults to compressed debug data. More details here: This patch adds a new option to enable it. It has to be an option, because it'll undoubtedly break everyone's debuginfo packaging scheme. gdb/objdump/etc. all still work, if you have new enough versions. I don't see big compile wins (maybe a second or two faster or so), but the object dirs with debuginfo get significantly smaller. My standard kernel config (slightly bigger than defconfig) shrinks from 2.9G disk space to 1.1G objdir (with non reduced debuginfo). I presume if you are IO limited the compile time difference will be larger. Only problem I've seen so far is that it doesn't play well with older versions of ccache (apparently fixed, see v2: various fixes from Dirk Gouders. Improve commit message slightly. v3: Fix clean rules and improve Kconfig slightly v4: Fix merge error in last version (Sam Ravnborg) Clarify description that it mainly helps disk size. Cc: Dirk Gouders <> Signed-off-by: Andi Kleen <> Acked-by: Sam Ravnborg <> Signed-off-by: Michal Marek <>
2014-04-16.gitignore: ignore Module.symvers in all directoriesZhao, Gang-2/+2
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 <> Cc: Kyungsik Lee <> Cc: Markus Trippelsdorf <> Signed-off-by: Zhao, Gang <> Signed-off-by: Michal Marek <>
2014-02-10gitignore: add all.configBorislav Petkov-0/+3
This is used by kbuild to load preset Kconfig options. We need to ignore it, otherwise git clean kills it. Signed-off-by: Borislav Petkov <> Cc: Michal Marek <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2013-07-31.gitignore: ignore *.lz4 filesMarkus Trippelsdorf-0/+1
Now that lz4 kernel compression is available, add *.lz4 to .gitignore. Signed-off-by: Markus Trippelsdorf <> Acked-by: Kyungsik Lee <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2012-12-17.gitignore: remove stale entry for generated version.hJonathan Austin-1/+0
Since userspace headers were moved to generated/uapi it possible to have a stale copy of linux/version.h at that file's old location. This causes confusion after building an older kernel version, then checking out and building a new one; the old (stale) version header will still get picked up until it is manually removed. This upsets the C library. Since the uapi changes, include/linux/version.h is no longer generated and should not be ignored, so this patch removes it from .gitignore. Signed-off-by: Jonathan Austin <> Reported-by: Kevin Petit <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2012-10-19MODSIGN: Cleanup .gitignoreDavid Howells-6/+0
The module build process no longer creates intermediate files for module signing, so remove them from .gitignore. Signed-off-by: David Howells <> Signed-off-by: Linus Torvalds <>
2012-10-10MODSIGN: Provide gitignore and make clean rules for extra filesDavid Howells-0/+14
Provide gitignore and make clean rules for extra files to hide and clean up the extra files produced by module signing stuff once it is added. Also add a clean up rule for the module content extractor program used to extract the data to be signed. Signed-off-by: David Howells <> Signed-off-by: Rusty Russell <>
2011-07-01gitignore: ignore debian build directoryGreg Dietsche-0/+5
Have git ignore the Debian directory created when running: make deb-pkg Signed-off-by: Greg Dietsche <> Signed-off-by: Michal Marek <>
2011-04-28kbuild: asm-generic supportSam Ravnborg-0/+1
There is an increasing amount of header files shared between individual architectures in asm-generic. To avoid a lot of dummy wrapper files that just include the corresponding file in asm-generic provide some basic support in kbuild for this. With the following patch an architecture can maintain a list of files in the file arch/$(ARCH)/include/asm/Kbuild To use a generic file just add: generic-y += <name-of-header-file.h> For each file listed kbuild will generate the necessary wrapper in arch/$(ARCH)/include/generated/asm. When installing userspace headers a wrapper is likewise created. The original inspiration for this came from the unicore32 patchset - although a different method is used. The patch includes several improvements from Arnd Bergmann. Michael Marek contributed Makefile.asm-generic. Remis Baima did an intial implementation along to achive the same - see Signed-off-by: Sam Ravnborg <> Acked-by: Guan Xuetao <> Tested-by: Guan Xuetao <> Acked-by: Arnd Bergmann <> Cc: Remis Lima Baima <> Signed-off-by: Michal Marek <>
2011-02-22.gitignore: ignore *.xz filesRomain Francoise-0/+1
Building with CONFIG_KERNEL_XZ results in the following: # Untracked files: # (use "git add <file>..." to include in what will be committed) # # arch/x86/boot/compressed/vmlinux.bin.xz So ignore xz-compressed files at the top level like we already do for other compression types. Signed-off-by: Romain Francoise <> Signed-off-by: Linus Torvalds <>
2010-06-01Merge branch 'for-35' of git:// Torvalds-0/+1
* 'for-35' of git:// (81 commits) kbuild: Revert part of e8d400a to resolve a conflict kbuild: Fix checking of scm-identifier variable gconfig: add support to show hidden options that have prompts menuconfig: add support to show hidden options which have prompts gconfig: remove show_debug option gconfig: remove dbg_print_ptype() and dbg_print_stype() kconfig: fix zconfdump() kconfig: some small fixes add random binaries to .gitignore kbuild: Include and the file list in the .d file kconfig: recalc symbol value before showing search results .gitignore: ignore *.lzo files headerdep: perlcritic warning scripts/Makefile.lib: Align the output of LZO kbuild: Generate modules.builtin in make modules_install Revert "kbuild: specify absolute paths for cscope" kbuild: Do not unnecessarily regenerate modules.builtin headers_install: use local file handles headers_check: fix perl warnings export_report: fix perl warnings ...
2010-03-23.gitignore: ignore *.lzo filesPhilipp Kohlbecher-0/+1
Ignore files compressed with lzop. Signed-off-by: Philipp Kohlbecher <> Signed-off-by: Michal Marek <>
2010-03-12Fix up .gitignore for top-level file patternsLinus Torvalds-8/+12
Some of the gitignore file patters were explicitly meant to be only for the top level, but weren't marked that way, so they would trigger recursively in subdirectories too. Normally that was harmless, but at least "linux" happened to trigger elsewhere too. Fix it up. And other patterns in that section weren't necessarily top-level at all. Reported-by: Jiri Slaby <> Signed-off-by: Linus Torvalds <>
2010-03-06um: tell git to ignore generated filesWANG Cong-0/+1
Tell git to ignore the generated files under um, except: include/shared/kern_constants.h include/shared/user_constants.h which will be moved to include/generated. Signed-off-by: WANG Cong <> Cc: Al Viro <> Cc: Jeff Dike <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2010-01-11.gitignore: ignore vmlinuzFlorian Fainelli-0/+1
MIPS compressed kernels output a vmlinuz file in the top-level directory (maybe others do). Add vmlinuz to the list of files to ignore by git. Signed-off-by: Florian Fainelli <> Cc: Ralf Baechle <> Cc: Maxime Bizon <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2009-12-12kbuild: generate modules.builtinMichal Marek-0/+1
To make it easier for module-init-tools and scripts like mkinitrd to distinguish builtin and missing modules, install a modules.builtin file listing all builtin modules. This is done by generating an additional config file (tristate.conf) with tristate options set to uppercase 'Y' or 'M'. If we source that config file, the builtin modules appear in obj-Y. Signed-off-by: Michal Marek <>
2009-12-12kbuild: move utsrelease.h to include/generatedSam Ravnborg-1/+0
Fix up all users of utsrelease.h Signed-off-by: Sam Ravnborg <> Signed-off-by: Michal Marek <>
2009-12-12kbuild: move autoconf.h to include/generatedSam Ravnborg-1/+0
Signed-off-by: Sam Ravnborg <> Signed-off-by: Michal Marek <>
2009-12-12kbuild: move compile.h to include/generatedSam Ravnborg-1/+0
Signed-off-by: Sam Ravnborg <> Signed-off-by: Michal Marek <>
2009-12-12kbuild: drop include/asmSam Ravnborg-1/+0
We no longer use this directory for generated files and all architectures has moved their header files so no symlink tricks are needed either. Drop the symlink and drop the ARCH check. If we really need to check that the SRCARCH has not changed when we build a kernel we can add this check back - but then we will find a more convenient way to store the info. Signed-off-by: Sam Ravnborg <> Signed-off-by: Michal Marek <>
2009-12-12kbuild: move asm-offsets.h to include/generatedSam Ravnborg-1/+0
The simplest method was to add an extra asm-offsets.h file in arch/$ARCH/include/asm that references the generated file. We can now migrate the architectures one-by-one to reference the generated file direct - and when done we can delete the temporary arch/$ARCH/include/asm/asm-offsets.h file. Signed-off-by: Sam Ravnborg <> Cc: Al Viro <> Signed-off-by: Michal Marek <>
2009-12-12kbuild: move bounds.h to include/generatedSam Ravnborg-1/+0
Signed-off-by: Sam Ravnborg <> Cc: Al Viro <> Signed-off-by: Michal Marek <>
2009-11-30.gitignore: Add bzip2 compressed filesGertjan van Wingerde-0/+1
We can have bzip2 compressed images nowadays. Signed-off-by: Gertjan van Wingerde <> Signed-off-by: Linus Torvalds <>
2009-06-27gitignore: ignore gcov output filesAmerigo Wang-0/+1
Ignore *.gcno files which are generated by gcov. Signed-off-by: WANG Cong <> Signed-off-by: Sam Ravnborg <>
2009-06-14Merge branch 'master' of ↵Linus Torvalds-0/+8
git:// * 'master' of git:// (53 commits) .gitignore: ignore *.lzma files kbuild: add generic --set-str option to scripts/config kbuild: simplify argument loop in scripts/config kbuild: handle non-existing options in scripts/config kallsyms: generalize text region handling kallsyms: support kernel symbols in Blackfin on-chip memory documentation: make version fix kbuild: fix a compile warning gitignore: Add GNU GLOBAL files to top .gitignore kbuild: fix delay in setlocalversion on readonly source README: fix misleading pointer to the defconf directory update kernel-doc: cleanup perl script Improve support for arch specific linker scripts kbuild: fix headers_exports with boolean expression kbuild/headers_check: refine extern check kbuild: fix "Argument list too long" error for "make headers_check", ignore *.patch files Remove bashisms from scripts menu: fix embedded menu presentation ...
2009-06-14.gitignore: ignore *.lzma filesArne Janbu-0/+1
Signed-off-by: Sam Ravnborg <>
2009-06-14gitignore: Add GNU GLOBAL files to top .gitignoreJani Nikula-0/+6
Ignore GPATH, GRTAGS, GSYMS, and GTAGS generated by GNU GLOBAL. Signed-off-by: Jani Nikula <> Signed-off-by: Sam Ravnborg <>
2009-06-12trivial: Remove the hyphen from git commandsMatt Kraai-1/+1
Signed-off-by: Matt Kraai <> Signed-off-by: Jiri Kosina <>
2009-06-09ignore *.patch filesMike Frysinger-0/+1
Signed-off-by: Mike Frysinger <> Signed-off-by: Sam Ravnborg <>
2009-04-19kbuild: support include/generatedSam Ravnborg-0/+1
We need a location for generated files. Today they are spread over several places and bringing them together to a common place makes it obvious hat is generated and what isreal files. Al Viro originally suggested: include/gen Linus suggested to spell it out. This patch implement support for include/generated All files in include/generated are ignored by git. include/generated is removed during "make mrproper". With this we are ready to implement support for include/generated in the various architctures and in the base kernel. Signed-off-by: Sam Ravnborg <> Cc: Al Viro <> Cc: Linus Torvalds <>
2008-06-29Fix and clean top .gitignoreEduard - Gabriel Munteanu-3/+9
Removed vmlinux* rule because it matches too many useful files, replacing it with rules matching filetype by filename (e.g. *.gz). Also unignored .mailmap from the top directory. Added a comment telling the user how to check for tracked files being ignored. Signed-off-by: Eduard - Gabriel Munteanu <> Signed-off-by: Linus Torvalds <>
2008-06-17Unignore from Git.Eduard - Gabriel Munteanu-0/+1
Added ! to .gitignore because it would otherwise be ignored. Signed-off-by: Eduard - Gabriel Munteanu <> Acked-by: Mathieu Desnoyers <> Signed-off-by: Linus Torvalds <>
2008-05-25.gitignore: match ncscope.outJike Song-0/+1
Sometimes I got this: $ git-status {snip} # On branch master # Untracked files: # (use "git add <file>..." to include in what will be committed) # # ncscope.out nothing added to commit but untracked files present (use "git add" to track) Fix it. Signed-off-by: Jike Song <> Signed-off-by: Sam Ravnborg <>
2008-05-11Remove *.rej pattern from .gitignoreS.Çağlar Onur-1/+0
With commit 3f1b0e1f287547903f11fa1e6de7d2765597766e ".gitignore update" Linus's current git tree starts to ignore any "*.rej" files. So "git status" no longer shows these files, but the ones who works with quilt patchsets, this not makes life easier as expected. Because sometimes a work flow (at least for me) requires "quilt push -f" followed by "git status" to see unresolved merge conflicts, work on these conflicts to correct them and finalize the patch with "quilt refresh". And if there are some "*.rej" files exists in tree, for whatever reason, this means something goes really wrong there and i think this situation not deserves to be ignored. Signed-off-by: S.Çağlar Onur <> Signed-off-by: Sam Ravnborg <>
2008-04-30Update .gitignore to include include/linux/bounds.hTheodore Ts'o-0/+1
(which is autogenerated by kbuild) Signed-off-by: "Theodore Ts'o" <> Signed-off-by: Linus Torvalds <>
2008-04-25Update .gitignore filesMatthew Wilcox-0/+1
Add some autogenerated files to various .gitignore files Signed-off-by: Matthew Wilcox <> Signed-off-by: Linus Torvalds <>
2008-03-04.gitignore: ignore emacs backup and temporary files.Chris Dearman-0/+2
Signed-off-by: Chris Dearman <> Signed-off-by: Ralf Baechle <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
2008-01-28kbuild: ignore *.order filesSam Ravnborg-0/+1
Introducing the new modules.order patch created a number of additional files. Teach git to ignore them. Signed-off-by: Sam Ravnborg <> Acked-by: Tejun Heo <>
2007-10-19x86: update .gitignore entriesThomas Gleixner-0/+1
vdso / vsycall create .so.dbg files now. Add *.so.dbg to the main .ignore file Exclude the compile time created boot directory in arch/x86_64 as well Signed-off-by: Thomas Gleixner <> Signed-off-by: Ingo Molnar <>
2007-10-17.gitignore update for x86 archDenis V. Lunev-0/+1
This patch: - makes .gitignore files visible to git - makes arch/x86/kernel/ and arch/i386/boot invisible Signed-off-by: Denis V. Lunev <> Signed-off-by: Thomas Gleixner <>