01 Jul, 2011

1 commit


29 Apr, 2011

1 commit

  • 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 +=

    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
    Acked-by: Guan Xuetao
    Tested-by: Guan Xuetao
    Acked-by: Arnd Bergmann
    Cc: Remis Lima Baima
    Signed-off-by: Michal Marek

    Sam Ravnborg
     

23 Feb, 2011

1 commit

  • Building with CONFIG_KERNEL_XZ results in the following:

    # Untracked files:
    # (use "git add ..." 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

    Romain Francoise
     

01 Jun, 2010

1 commit

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

    Linus Torvalds
     

23 Mar, 2010

1 commit


13 Mar, 2010

1 commit

  • 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

    Linus Torvalds
     

07 Mar, 2010

1 commit

  • 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

    WANG Cong
     

12 Jan, 2010

1 commit

  • 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

    Florian Fainelli
     

12 Dec, 2009

7 commits


01 Dec, 2009

1 commit


27 Jun, 2009

1 commit


15 Jun, 2009

3 commits

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

    Linus Torvalds
     
  • Signed-off-by: Sam Ravnborg

    Arne Janbu
     
  • Ignore GPATH, GRTAGS, GSYMS, and GTAGS generated by GNU GLOBAL.

    Signed-off-by: Jani Nikula
    Signed-off-by: Sam Ravnborg

    Jani Nikula
     

13 Jun, 2009

1 commit


10 Jun, 2009

1 commit


19 Apr, 2009

1 commit

  • 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

    Sam Ravnborg
     

30 Jun, 2008

1 commit

  • 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

    Eduard - Gabriel Munteanu
     

18 Jun, 2008

1 commit


26 May, 2008

1 commit

  • Sometimes I got this:

    $ git-status
    {snip}
    # On branch master
    # Untracked files:
    # (use "git add ..." 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
     

11 May, 2008

1 commit

  • 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

    S.Çağlar Onur
     

01 May, 2008

1 commit


26 Apr, 2008

1 commit


05 Mar, 2008

1 commit


29 Jan, 2008

1 commit


20 Oct, 2007

1 commit


18 Oct, 2007

1 commit


01 Aug, 2007

1 commit

  • Somehow I ended up with the following in tree:

    $ git status
    ...
    # Untracked files:
    # (use "git add ..." 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
     

21 Jul, 2007

1 commit

  • 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
    Signed-off-by: Linus Torvalds

    Linus Torvalds
     

17 Jul, 2007

1 commit

  • headers_install by default puts headers into usr/include/ .
    They're auto-generated, so should be ignored.

    Same for *.orig, *.rej .

    Signed-off-by: Alexey Dobriyan
    Cc: David Woodhouse
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Alexey Dobriyan
     

23 Dec, 2006

1 commit


13 Nov, 2006

1 commit

  • Prevent git from reporting this useless status:

    On branch refs/heads/master
    Untracked files:
    (use "git add" to add to commit)

    TAGS
    scripts/kconfig/lkc_defs.h
    scripts/kconfig/qconf.moc
    nothing to commit

    Signed-off-by: Franck Bui-Huu
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Franck Bui-Huu
     

17 Sep, 2006

2 commits