Skip to content

Commit

Permalink
Add gitignores
Browse files Browse the repository at this point in the history
Long overdue...

Change-Id: I54455e047ed18412690117359fa63d8b6ade9063
  • Loading branch information
Simon1511 committed Sep 23, 2023
1 parent d056a63 commit 69c7eec
Show file tree
Hide file tree
Showing 207 changed files with 924 additions and 0 deletions.
131 changes: 131 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
#
# 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 (sorted alphabetically)
#
.*
*.a
*.bz2
*.c.[012]*.*
*.dtb
*.dtb.S
*.dwo
*.elf
*.gcno
*.gz
*.i
*.ko
*.ll
*.lst
*.lz4
*.lzma
*.lzo
*.mod.c
*.o
*.o.*
*.order
*.patch
*.s
*.so
*.so.dbg
*.su
*.symtypes
*.tar
*.xz
Module.symvers
modules.builtin

#
# Top-level generic files
#
/tags
/TAGS
/linux
/vmlinux
/vmlinux.32
/vmlinux-gdb.py
/vmlinuz
/System.map
/Module.markers

#
# RPM spec file (make rpm-pkg)
#
/*.spec

#
# Debian directory (make deb-pkg)
#
/debian/

#
# tar directory (make tar*-pkg)
#
/tar-install/

#
# git files that we don't want to ignore even if they are dot-files
#
!.gitignore
!.mailmap
!.cocciconfig

#
# Generated include files
#
include/config
include/generated
arch/*/include/generated

# stgit generated dirs
patches-*

# quilt's files
patches
series

# cscope files
cscope.*
ncscope.*

# gnu global files
GPATH
GRTAGS
GSYMS
GTAGS

# id-utils files
ID

*.orig
*~
\#*#

#
# Leavings from module signing
#
extra_certificates
signing_key.pem
signing_key.priv
signing_key.x509
x509.genkey

# Kconfig presets
all.config

# Kdevelop4
*.kdev4

# fetched Android config fragments
kernel/configs/android-*.cfg

#
#Ignoring Android.bp link file
#
Android.bp
2 changes: 2 additions & 0 deletions Documentation/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
output
*.pyc
3 changes: 3 additions & 0 deletions Documentation/media/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
*.pdf
# Files generated from *.dot
uapi/v4l/pipeline.svg
2 changes: 2 additions & 0 deletions Documentation/vm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
page-types
slabinfo
2 changes: 2 additions & 0 deletions arch/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
i386
x86_64
1 change: 1 addition & 0 deletions arch/alpha/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/arc/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
uImage
1 change: 1 addition & 0 deletions arch/arc/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
7 changes: 7 additions & 0 deletions arch/arm/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Image
zImage
xipImage
bootpImage
uImage
Image-dtb-hdr
Image-dtb
17 changes: 17 additions & 0 deletions arch/arm/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ashldi3.S
bswapsdi2.S
font.c
lib1funcs.S
hyp-stub.S
piggy_data
vmlinux
vmlinux.lds

# borrowed libfdt files
fdt.c
fdt.h
fdt_ro.c
fdt_rw.c
fdt_wip.c
libfdt.h
libfdt_internal.h
3 changes: 3 additions & 0 deletions arch/arm/crypto/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
aesbs-core.S
sha256-core.S
sha512-core.S
1 change: 1 addition & 0 deletions arch/arm/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
3 changes: 3 additions & 0 deletions arch/arm/vdso/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vdso.lds
vdso.so.raw
vdsomunge
4 changes: 4 additions & 0 deletions arch/arm64/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Image
Image-dtb
Image.gz
Image.gz-dtb
2 changes: 2 additions & 0 deletions arch/arm64/crypto/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sha256-core.S
sha512-core.S
1 change: 1 addition & 0 deletions arch/arm64/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/arm64/kernel/vdso/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vdso.lds
3 changes: 3 additions & 0 deletions arch/blackfin/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vmImage*
vmlinux*
uImage*
1 change: 1 addition & 0 deletions arch/blackfin/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
2 changes: 2 additions & 0 deletions arch/cris/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Image
zImage
2 changes: 2 additions & 0 deletions arch/ia64/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
gate.lds
vmlinux.lds
1 change: 1 addition & 0 deletions arch/m32r/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/m68k/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
3 changes: 3 additions & 0 deletions arch/metag/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
vmlinux*
uImage*
ramdisk.*
1 change: 1 addition & 0 deletions arch/metag/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
2 changes: 2 additions & 0 deletions arch/microblaze/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
linux.bin*
simpleImage.*
1 change: 1 addition & 0 deletions arch/microblaze/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
7 changes: 7 additions & 0 deletions arch/mips/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
mkboot
elf2ecoff
vmlinux.*
zImage
zImage.tmp
calc_vmlinuz_load_addr
uImage
2 changes: 2 additions & 0 deletions arch/mips/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ashldi3.c
bswapsi.c
1 change: 1 addition & 0 deletions arch/mips/boot/tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
relocs
1 change: 1 addition & 0 deletions arch/mips/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
4 changes: 4 additions & 0 deletions arch/mips/vdso/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.so*
vdso-*image.c
genvdso
vdso*.lds
1 change: 1 addition & 0 deletions arch/mn10300/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
zImage
1 change: 1 addition & 0 deletions arch/nios2/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmImage
1 change: 1 addition & 0 deletions arch/nios2/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/openrisc/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
2 changes: 2 additions & 0 deletions arch/parisc/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
image
bzImage
3 changes: 3 additions & 0 deletions arch/parisc/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sizes.h
vmlinux
vmlinux.lds
1 change: 1 addition & 0 deletions arch/parisc/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
47 changes: 47 additions & 0 deletions arch/powerpc/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
addnote
decompress_inflate.c
empty.c
hack-coff
inffast.c
inffast.h
inffixed.h
inflate.c
inflate.h
inftrees.c
inftrees.h
infutil.c
infutil.h
kernel-vmlinux.strip.c
kernel-vmlinux.strip.gz
mktree
otheros.bld
uImage
cuImage.*
dtbImage.*
treeImage.*
vmlinux.strip
zImage
zImage.initrd
zImage.bin.*
zImage.chrp
zImage.coff
zImage.epapr
zImage.holly
zImage.*lds
zImage.maple
zImage.miboot
zImage.pmac
zImage.pseries
zconf.h
zlib.h
zutil.h
fdt.c
fdt.h
fdt_ro.c
fdt_rw.c
fdt_strerror.c
fdt_sw.c
fdt_wip.c
libfdt.h
libfdt_internal.h

1 change: 1 addition & 0 deletions arch/powerpc/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/vdso32/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vdso32.lds
vdso32.so.dbg
2 changes: 2 additions & 0 deletions arch/powerpc/kernel/vdso64/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
vdso64.lds
vdso64.so.dbg
2 changes: 2 additions & 0 deletions arch/powerpc/platforms/cell/spufs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
spu_save_dump.h
spu_restore_dump.h
2 changes: 2 additions & 0 deletions arch/powerpc/purgatory/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
kexec-purgatory.c
purgatory.ro
2 changes: 2 additions & 0 deletions arch/s390/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
image
bzImage
3 changes: 3 additions & 0 deletions arch/s390/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sizes.h
vmlinux
vmlinux.lds
1 change: 1 addition & 0 deletions arch/s390/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/s390/kernel/vdso32/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vdso32.lds
1 change: 1 addition & 0 deletions arch/s390/kernel/vdso64/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vdso64.lds
1 change: 1 addition & 0 deletions arch/s390/tools/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gen_facilities
3 changes: 3 additions & 0 deletions arch/sh/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
zImage
vmlinux*
uImage*
1 change: 1 addition & 0 deletions arch/sh/boot/compressed/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.bin.*
1 change: 1 addition & 0 deletions arch/sh/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
1 change: 1 addition & 0 deletions arch/sh/kernel/vsyscall/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vsyscall.lds
8 changes: 8 additions & 0 deletions arch/sparc/boot/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
btfix.S
btfixupprep
image
zImage
tftpboot.img
vmlinux.aout
piggyback

1 change: 1 addition & 0 deletions arch/sparc/kernel/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
vmlinux.lds
3 changes: 3 additions & 0 deletions arch/um/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kernel/config.c
kernel/config.tmp
kernel/vmlinux.lds
21 changes: 21 additions & 0 deletions arch/unicore32/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# Generated include files
#
include/generated
#
# Generated ld script file
#
kernel/vmlinux.lds
#
# Generated images in boot
#
boot/Image
boot/zImage
boot/uImage
#
# Generated files in boot/compressed
#
boot/compressed/piggy.S
boot/compressed/piggy.gzip
boot/compressed/vmlinux
boot/compressed/vmlinux.lds
6 changes: 6 additions & 0 deletions arch/x86/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
boot/compressed/vmlinux
tools/test_get_len
tools/insn_sanity
purgatory/kexec-purgatory.c
purgatory/purgatory.ro

Loading

0 comments on commit 69c7eec

Please sign in to comment.