2005-10-18 23:26:15 +08:00
|
|
|
#
|
|
|
|
# NOTE! Don't add files that are generated in specific
|
|
|
|
# subdirectories here. Add them in the ".gitignore" file
|
|
|
|
# in that subdirectory instead.
|
|
|
|
#
|
2009-06-05 12:43:10 +08:00
|
|
|
# NOTE! Please use 'git ls-files -i --exclude-standard'
|
2008-06-26 15:54:34 +08:00
|
|
|
# command after changing this file, to see if there are
|
|
|
|
# any tracked files which get ignored after the change.
|
|
|
|
#
|
2017-10-30 23:33:45 +08:00
|
|
|
# Normal rules (sorted alphabetically)
|
2005-10-18 23:26:15 +08:00
|
|
|
#
|
|
|
|
.*
|
2017-10-30 23:33:45 +08:00
|
|
|
*.a
|
2018-03-23 21:04:37 +08:00
|
|
|
*.asn1.[ch]
|
2017-10-30 23:33:45 +08:00
|
|
|
*.bin
|
|
|
|
*.bz2
|
|
|
|
*.c.[012]*.*
|
2018-09-07 02:26:07 +08:00
|
|
|
*.dt.yaml
|
2017-10-30 23:33:46 +08:00
|
|
|
*.dtb
|
|
|
|
*.dtb.S
|
2017-10-30 23:33:45 +08:00
|
|
|
*.dwo
|
|
|
|
*.elf
|
|
|
|
*.gcno
|
|
|
|
*.gz
|
|
|
|
*.i
|
|
|
|
*.ko
|
2018-03-23 21:04:30 +08:00
|
|
|
*.lex.c
|
2017-10-30 23:33:45 +08:00
|
|
|
*.ll
|
|
|
|
*.lst
|
|
|
|
*.lz4
|
|
|
|
*.lzma
|
|
|
|
*.lzo
|
|
|
|
*.mod.c
|
2005-10-18 23:26:15 +08:00
|
|
|
*.o
|
2007-07-31 15:37:25 +08:00
|
|
|
*.o.*
|
2017-10-30 23:33:45 +08:00
|
|
|
*.order
|
|
|
|
*.patch
|
2005-10-18 23:26:15 +08:00
|
|
|
*.s
|
2006-01-06 01:10:52 +08:00
|
|
|
*.so
|
2007-10-20 02:35:02 +08:00
|
|
|
*.so.dbg
|
2017-10-30 23:33:45 +08:00
|
|
|
*.su
|
2006-09-17 03:15:44 +08:00
|
|
|
*.symtypes
|
2018-03-23 21:04:30 +08:00
|
|
|
*.tab.[ch]
|
2015-04-17 03:49:24 +08:00
|
|
|
*.tar
|
2011-02-22 17:48:06 +08:00
|
|
|
*.xz
|
2014-04-14 14:56:15 +08:00
|
|
|
Module.symvers
|
2017-10-30 23:33:45 +08:00
|
|
|
modules.builtin
|
2005-10-18 23:26:15 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Top-level generic files
|
|
|
|
#
|
2010-03-13 08:30:23 +08:00
|
|
|
/tags
|
|
|
|
/TAGS
|
|
|
|
/linux
|
|
|
|
/vmlinux
|
2015-04-25 01:27:40 +08:00
|
|
|
/vmlinux.32
|
2015-02-18 05:47:38 +08:00
|
|
|
/vmlinux-gdb.py
|
2010-03-13 08:30:23 +08:00
|
|
|
/vmlinuz
|
|
|
|
/System.map
|
|
|
|
/Module.markers
|
2019-04-30 00:11:14 +08:00
|
|
|
/modules.builtin.modinfo
|
2010-03-13 08:30:23 +08:00
|
|
|
|
2017-09-30 09:10:10 +08:00
|
|
|
#
|
|
|
|
# RPM spec file (make rpm-pkg)
|
|
|
|
#
|
|
|
|
/*.spec
|
|
|
|
|
2011-07-01 07:42:50 +08:00
|
|
|
#
|
|
|
|
# Debian directory (make deb-pkg)
|
|
|
|
#
|
|
|
|
/debian/
|
|
|
|
|
scripts/package: snap-pkg target
Following in footsteps of other targets like 'deb-pkg, 'rpm-pkg' and 'tar-pkg',
this patch adds a 'snap-pkg' target for the creation of a Linux kernel snap
package using the kbuild infrastructure.
A snap, in its general form, is a self contained, sandboxed, universal package
and it is intended to work across multiple distributions and/or devices. A snap
package is distributed as a single compressed squashfs filesystem.
A kernel snap is a snap package carrying the Linux kernel, kernel modules,
accessory files (DTBs, System.map, etc) and a manifesto file. The purpose of a
kernel snap is to carry the Linux kernel during the creation of a system image,
eg. Ubuntu Core, and its subsequent upgrades.
For more information on snap packages: https://snapcraft.io/docs/
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
2017-11-27 19:07:34 +08:00
|
|
|
#
|
|
|
|
# Snap directory (make snap-pkg)
|
|
|
|
#
|
|
|
|
/snap/
|
|
|
|
|
2015-02-13 07:01:19 +08:00
|
|
|
#
|
|
|
|
# tar directory (make tar*-pkg)
|
|
|
|
#
|
|
|
|
/tar-install/
|
|
|
|
|
2010-03-13 08:30:23 +08:00
|
|
|
#
|
2019-05-11 11:13:54 +08:00
|
|
|
# We don't want to ignore the following even if they are dot-files
|
2010-03-13 08:30:23 +08:00
|
|
|
#
|
2019-05-11 11:13:54 +08:00
|
|
|
!.clang-format
|
|
|
|
!.cocciconfig
|
|
|
|
!.get_maintainer.ignore
|
|
|
|
!.gitattributes
|
2007-10-16 15:22:21 +08:00
|
|
|
!.gitignore
|
2008-06-26 15:54:34 +08:00
|
|
|
!.mailmap
|
2005-10-18 23:26:15 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Generated include files
|
|
|
|
#
|
2019-04-29 23:17:53 +08:00
|
|
|
/include/config/
|
|
|
|
/include/generated/
|
|
|
|
/include/ksym/
|
|
|
|
/arch/*/include/generated/
|
2005-10-18 23:26:15 +08:00
|
|
|
|
2006-02-27 11:07:24 +08:00
|
|
|
# stgit generated dirs
|
|
|
|
patches-*
|
2006-07-17 13:37:06 +08:00
|
|
|
|
|
|
|
# quilt's files
|
|
|
|
patches
|
|
|
|
series
|
2006-12-22 17:07:32 +08:00
|
|
|
|
|
|
|
# cscope files
|
|
|
|
cscope.*
|
2008-05-22 09:23:10 +08:00
|
|
|
ncscope.*
|
2007-07-16 14:41:52 +08:00
|
|
|
|
2009-06-11 17:21:47 +08:00
|
|
|
# gnu global files
|
|
|
|
GPATH
|
|
|
|
GRTAGS
|
|
|
|
GSYMS
|
|
|
|
GTAGS
|
|
|
|
|
2015-04-17 05:02:41 +08:00
|
|
|
# id-utils files
|
|
|
|
ID
|
|
|
|
|
2007-07-16 14:41:52 +08:00
|
|
|
*.orig
|
2008-03-05 06:28:59 +08:00
|
|
|
*~
|
|
|
|
\#*#
|
2012-09-26 17:09:50 +08:00
|
|
|
|
|
|
|
#
|
|
|
|
# Leavings from module signing
|
|
|
|
#
|
|
|
|
extra_certificates
|
2015-07-21 04:16:30 +08:00
|
|
|
signing_key.pem
|
2012-09-26 17:09:50 +08:00
|
|
|
signing_key.priv
|
|
|
|
signing_key.x509
|
|
|
|
x509.genkey
|
2014-02-11 06:25:45 +08:00
|
|
|
|
|
|
|
# Kconfig presets
|
2019-05-07 20:48:46 +08:00
|
|
|
/all.config
|
|
|
|
/alldef.config
|
|
|
|
/allmod.config
|
|
|
|
/allno.config
|
|
|
|
/allrandom.config
|
|
|
|
/allyes.config
|
2014-11-26 00:42:54 +08:00
|
|
|
|
|
|
|
# Kdevelop4
|
|
|
|
*.kdev4
|