mirror_zfs/.gitignore
Richard Yao 15d0411297 Remove Makefile from non-toplevel .gitignore files
When building SPL support into the kernel, ./copy-builtin will copy
non-toplevel .gitignore files. These files list /Makefile, which causes
git-archive to omit ./module/{spl,splat}/Makefile. The absence of these
files result in build failures when SPL is selected. ZFS is unaffected
because it puts Makefile in the toplevel .gitignore, which is not
copied. We fix SPL by emulating that behavior.

Reported-by: Fabio Erculiani <lxnay@gentoo.org>
Signed-off-by: Richard Yao <ryao@cs.stonybrook.edu>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #152
2012-08-23 12:49:04 -07:00

52 lines
738 B
Plaintext

#
# N.B.
# This is the toplevel .gitignore file.
# This is not the place for entries that are specific to
# a subdirectory. Instead add those files to the
# .gitignore file in that subdirectory.
#
# N.B.
# 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
#
*.[oa]
*.ko
*.ko.unsigned
*.ko.out
*.ko.out.sig
*.lo
*.la
*.mod.c
*~
*.swp
.*.cmd
.deps
.libs
.DS_Store
modules.order
Makefile
#
# Top level generated files specific to this top level dir
#
/Makefile
/config.log
/config.status
/libtool
/spl_config.h
/spl.spec
/spl-modules.spec
/stamp-h1
#
# Top level generic files
#
!.gitignore
tags
TAGS
cscope.*