#
# NOTE! Don't add files that are generated in specific
# subdirectories here. Add them in the ".gitignore" file
# in that subdirectory instead.
#
# NOTE! Please use 'git-ls-files -i --exclude-standard'
# command after changing this file, to see if there are
# any tracked files which get ignored after the change.
#
# Normal rules
#
#.*
*.o
*.o.*
*.a
*.s
*.ko
*.so
*.so.dbg
*.mod.c
*.i
*.lst
*.symtypes
*.order
*.elf
*.bin
*.gz

#
# Top-level generic files
#
tags
TAGS
vmlinux
System.map
Module.markers
Module.symvers
!.gitignore
!.mailmap

#
# Generated include files
#
include/asm
include/asm-*/asm-offsets.h
include/config
include/linux/autoconf.h
include/linux/compile.h
include/linux/version.h
include/linux/utsrelease.h
include/linux/bounds.h

# stgit generated dirs
patches-*

# quilt's files
#patches
#series

# cscope files
cscope.*
ncscope.*

*.orig
*~
\#*#

#
# Added by SS
#

# We use lot of dot files... so add all dotfiles.
!\.*

# Ignore arch related
.arch-ids

# ALP has patch to touch these
!vmlinux.lds.S

# Ignore user's file
*~
.*old
,*
GPATH
GRTAGS
GSYMS
GTAGS
ID

# Ignore generated files (thay should be removed with make clean)
.*.cmd
.tmp*
.kconfig.d
.kernelrelease
.version
.arch_name
.config
.cross_compile
.target_name
.fixup_kernel_headers
.config_copy
.config_recipe
.config.bak

scripts/lxdialog/lxdialog
scripts/kconfig/zconf.hash.c
include/linux/dwarf2-defs.h

include/asm-ppc/asm-offsets.h
arch/powerpc/kernel/vdso32/vdso32.lds
arch/powerpc/kernel/vdso32/vdso32.so
arch/ppc/include

# Ignore kernel header
kernel_headers.tar.gz

include/asm-arm/.arch
usr/.initramfs_data.cpio.gz.d
usr/.initramfs_data.cpio.d

#properly handle quilt's .version file.
!.pc/.version

# Files below are modified by LTTng patches we should not ignore:
# under include/asm-generic/:
!vmlinux.lds.h
# under arch/arm26/kernel/:
!vmlinux-arm26-xip.lds.in
!vmlinux-arm26.lds.in
# under arch/avr32/kernel/:
!vmlinux.lds.c
# under arch/m68k/kernel/:
!vmlinux-std.lds
!vmlinux-sun3.lds

# Ignore reject file created by patch command.
*.rej

# ignore syscall check
.missing-syscalls.d

include/linux/snsc_nlver_repover.h
