Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jul 01, 2011

  1. FarmerGreg

    gitignore: ignore debian build directory

    Have git ignore the Debian directory created when running:
    	make deb-pkg
    Signed-off-by: Greg Dietsche <>
    Signed-off-by: Michal Marek <>
    dietsche authored michal42 committed

Apr 28, 2011

  1. kbuild: asm-generic support

    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 <>
    Sam Ravnborg authored michal42 committed

Feb 22, 2011

  1. Romain Francoise

    .gitignore: ignore *.xz files

    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 <>
    orebokech authored committed

Jun 01, 2010

  1. Linus Torvalds

    Merge branch 'for-35' of git://

    * '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

Mar 23, 2010

  1. .gitignore: ignore *.lzo files

    Ignore files compressed with lzop.
    Signed-off-by: Philipp Kohlbecher <>
    Signed-off-by: Michal Marek <>
    Philipp Kohlbecher authored michal42 committed

Mar 13, 2010

  1. Linus Torvalds

    Fix up .gitignore for top-level file patterns

    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 <>

Mar 06, 2010

  1. Cong Wang

    um: tell git to ignore generated files

    Tell git to ignore the generated files under um, except:
    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 <>
    congwang authored committed

Jan 11, 2010

  1. Florian Fainelli

    .gitignore: ignore vmlinuz

    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 <>
    ffainelli authored committed

Dec 12, 2009

  1. michal42

    kbuild: generate modules.builtin

    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
    Signed-off-by: Michal Marek <>
    michal42 authored
  2. kbuild: move utsrelease.h to include/generated

    Fix up all users of utsrelease.h
    Signed-off-by: Sam Ravnborg <>
    Signed-off-by: Michal Marek <>
    Sam Ravnborg authored michal42 committed
  3. kbuild: move autoconf.h to include/generated

    Signed-off-by: Sam Ravnborg <>
    Signed-off-by: Michal Marek <>
    Sam Ravnborg authored michal42 committed
  4. kbuild: move compile.h to include/generated

    Signed-off-by: Sam Ravnborg <>
    Signed-off-by: Michal Marek <>
    Sam Ravnborg authored michal42 committed
  5. kbuild: drop include/asm

    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 <>
    Sam Ravnborg authored michal42 committed
  6. kbuild: move asm-offsets.h to include/generated

    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 <>
    Sam Ravnborg authored michal42 committed
  7. kbuild: move bounds.h to include/generated

    Signed-off-by: Sam Ravnborg <>
    Cc: Al Viro <>
    Signed-off-by: Michal Marek <>
    Sam Ravnborg authored michal42 committed

Nov 30, 2009

  1. .gitignore: Add bzip2 compressed files

    We can have bzip2 compressed images nowadays.
    Signed-off-by: Gertjan van Wingerde <>
    Signed-off-by: Linus Torvalds <>
    Gertjan van Wingerde authored committed

Jun 26, 2009

  1. Cong Wang

    gitignore: ignore gcov output files

    Ignore *.gcno files which are generated by gcov.
    Signed-off-by: WANG Cong <>
    Signed-off-by: Sam Ravnborg <>
    congwang authored Sam Ravnborg committed

Jun 14, 2009

  1. Linus Torvalds

    Merge branch 'master' of 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
  2. Ampheus

    .gitignore: ignore *.lzma files

    Signed-off-by: Sam Ravnborg <>
    Ampheus authored Sam Ravnborg committed
  3. gitignore: Add GNU GLOBAL files to top .gitignore

    Ignore GPATH, GRTAGS, GSYMS, and GTAGS generated by GNU GLOBAL.
    Signed-off-by: Jani Nikula <>
    Signed-off-by: Sam Ravnborg <>
    Jani Nikula authored Sam Ravnborg committed

Jun 12, 2009

  1. kraai

    trivial: Remove the hyphen from git commands

    Signed-off-by: Matt Kraai <>
    Signed-off-by: Jiri Kosina <>
    kraai authored Jiri Kosina committed

Jun 09, 2009

  1. Mike Frysinger

    ignore *.patch files

    Signed-off-by: Mike Frysinger <>
    Signed-off-by: Sam Ravnborg <>
    vapier authored Sam Ravnborg committed

Apr 19, 2009

  1. kbuild: support include/generated

    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
    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 <>
    Sam Ravnborg authored

Jun 29, 2008

  1. Eduard - Gabriel Munteanu

    Fix and clean top .gitignore

    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 <>
    edgmnt authored committed

Jun 18, 2008

  1. Eduard - Gabriel Munteanu

    Unignore from Git.

    Added ! to .gitignore because it would otherwise be ignored.
    Signed-off-by: Eduard - Gabriel Munteanu <>
    Acked-by: Mathieu Desnoyers <>
    Signed-off-by: Linus Torvalds <>
    edgmnt authored committed

May 25, 2008

  1. .gitignore: match ncscope.out

    Sometimes I got this:
        $ git-status
        # 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 <>
    Jike Song authored Sam Ravnborg committed

May 11, 2008

  1. S.Çağlar Onur

    Remove *.rej pattern from .gitignore

    With commit 3f1b0e1 ".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 <>
    caglar10ur authored Sam Ravnborg committed

May 01, 2008

  1. Theodore Ts'o

    Update .gitignore to include include/linux/bounds.h

    (which is autogenerated by kbuild)
    Signed-off-by: "Theodore Ts'o" <>
    Signed-off-by: Linus Torvalds <>
    tytso authored committed

Apr 25, 2008

  1. Update .gitignore files

    Add some autogenerated files to various .gitignore files
    Signed-off-by: Matthew Wilcox <>
    Signed-off-by: Linus Torvalds <>
    Matthew Wilcox authored committed

Mar 05, 2008

  1. chrisdearman

    .gitignore: ignore emacs backup and temporary files.

    Signed-off-by: Chris Dearman <>
    Signed-off-by: Ralf Baechle <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
    chrisdearman authored Linus Torvalds committed

Jan 28, 2008

  1. kbuild: ignore *.order files

    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 <>
    Sam Ravnborg authored

Oct 19, 2007

  1. x86: update .gitignore entries

    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 <>
    Thomas Gleixner authored

Oct 17, 2007

  1. .gitignore update for x86 arch

    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 <>
    Denis V. Lunev authored Thomas Gleixner committed

Jul 31, 2007

  1. .gitignore update

    Somehow I ended up with the following in tree:
    	$ git status
    	# Untracked files:
    	#   (use "git add <file>..." to include in what will be committed)
    	#       fs/proc/root.o.FuMxJQ
    	#       net/ipv4/tcp_minisocks.o.geCDYR
    These are presumably temporary gcc files, which aren't interesting.
    Signed-off-by: Alexey Dobriyan <>
    Signed-off-by: Andrew Morton <>
    Signed-off-by: Linus Torvalds <>
    Alexey Dobriyan authored Linus Torvalds committed

Jul 20, 2007

  1. Un-ignore "" in .gitignore

    We ignore all the generated files called "vmlinux*" from the top-level
    gitignore, but that also ends up catching a few files that we track, and
    that people do edit.  Notably the "" file, that each
    architecture has.
    You can always use "git add -f" to override the ignore file, but we
    might as well just make it explicit for this file.
    Bitten-by-and-tested-by: Ingo Molnar <>
    Signed-off-by: Linus Torvalds <>
    Linus Torvalds authored
Something went wrong with that request. Please try again.