Skip to content
This repository

HTTPS clone URL

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 <Gregory.Dietsche@cuw.edu>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 https://patchwork.kernel.org/patch/13352/
    
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Acked-by: Guan Xuetao <guanxuetao@mprc.pku.edu.cn>
    Tested-by: Guan Xuetao <guanxuetao@mprc.pku.edu.cn>
    Acked-by: Arnd Bergmann <arnd@arndb.de>
    Cc: Remis Lima Baima <remis.developer@googlemail.com>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 <romain@orebokech.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds committed

Jun 01, 2010

  1. Linus Torvalds

    Merge branch 'for-35' of git://repo.or.cz/linux-kbuild

    * 'for-35' of git://repo.or.cz/linux-kbuild: (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 gen_initramfs_list.sh 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
      ...
    authored

Mar 23, 2010

  1. .gitignore: ignore *.lzo files

    Ignore files compressed with lzop.
    
    Signed-off-by: Philipp Kohlbecher <xt28@gmx.de>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 <jirislaby@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored

Mar 06, 2010

  1. Cong Wang

    um: tell git to ignore generated files

    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 <xiyou.wangcong@gmail.com>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Cc: Jeff Dike <jdike@addtoit.com>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds 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 <ffainelli@freebox.fr>
    Cc: Ralf Baechle <ralf@linux-mips.org>
    Cc: Maxime Bizon <mbizon@freebox.fr>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds 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
    obj-Y.
    
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    authored
  2. kbuild: move utsrelease.h to include/generated

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

    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    authored michal42 committed
  4. kbuild: move compile.h to include/generated

    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 <sam@ravnborg.org>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 <sam@ravnborg.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    authored michal42 committed
  7. kbuild: move bounds.h to include/generated

    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Cc: Al Viro <viro@zeniv.linux.org.uk>
    Signed-off-by: Michal Marek <mmarek@suse.cz>
    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 <gwingerde@gmail.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds 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 <xiyou.wangcong@gmail.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    authored Sam Ravnborg committed

Jun 14, 2009

  1. Linus Torvalds

    Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…

    …t/sam/kbuild-next
    
    * 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-next: (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
      vmlinux.lds.h update
      kernel-doc: cleanup perl script
      Improve vmlinux.lds.h 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
      ...
    authored
  2. Ampheus

    .gitignore: ignore *.lzma files

    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    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 <ext-jani.1.nikula@nokia.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    authored Sam Ravnborg committed

Jun 12, 2009

  1. kraai

    trivial: Remove the hyphen from git commands

    Signed-off-by: Matt Kraai <kraai@ftbfs.org>
    Signed-off-by: Jiri Kosina <jkosina@suse.cz>
    authored Jiri Kosina committed

Jun 09, 2009

  1. Mike Frysinger

    ignore *.patch files

    Signed-off-by: Mike Frysinger <vapier@gentoo.org>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    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
    
        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 <sam@ravnborg.org>
    Cc: Al Viro <viro@ZenIV.linux.org.uk>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    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 <eduard.munteanu@linux360.ro>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds committed

Jun 18, 2008

  1. Eduard - Gabriel Munteanu

    Unignore vmlinux.lds.h from Git.

    Added !vmlinux.lds.h to .gitignore because it would otherwise be ignored.
    
    Signed-off-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    Acked-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds committed

May 25, 2008

  1. .gitignore: match ncscope.out

    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 <albcamus@gmail.com>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    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 <caglar@pardus.org.tr>
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    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" <tytso@mit.edu>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds committed

Apr 25, 2008

  1. Update .gitignore files

    Add some autogenerated files to various .gitignore files
    
    Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored torvalds committed

Mar 05, 2008

  1. chrisdearman

    .gitignore: ignore emacs backup and temporary files.

    Signed-off-by: Chris Dearman <chris@mips.com>
    Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    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 <sam@ravnborg.org>
    Acked-by: Tejun Heo <htejun@gmail.com>
    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 <tglx@linutronix.de>
    Signed-off-by: Ingo Molnar <mingo@elte.hu>
    authored

Oct 17, 2007

  1. .gitignore update for x86 arch

    This patch:
    - makes .gitignore files visible to git
    - makes arch/x86/kernel/vsyscall_32.lds and arch/i386/boot invisible
    
    Signed-off-by: Denis V. Lunev <den@openvz.org>
    Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
    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 <adobriyan@sw.ru>
    Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored Linus Torvalds committed

Jul 20, 2007

  1. Un-ignore "vmlinux.lds.S" 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 "vmlinux.lds.S" 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 <mingo@elte.hu>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
    authored
Something went wrong with that request. Please try again.