aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore47
-rw-r--r--cmd/.gitignore3
-rw-r--r--include/.gitignore1
-rw-r--r--lib/.gitignore1
-rw-r--r--module/.gitignore4
-rw-r--r--module/spl/.gitignore1
-rw-r--r--module/splat/.gitignore1
-rw-r--r--scripts/.gitignore1
8 files changed, 59 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000..27807cad9
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,47 @@
+#
+# 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
+*.lo
+*.la
+*.mod.c
+*~
+*.swp
+.*.cmd
+.deps
+.libs
+.DS_Store
+modules.order
+
+#
+# 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.*
diff --git a/cmd/.gitignore b/cmd/.gitignore
new file mode 100644
index 000000000..1b34aca0a
--- /dev/null
+++ b/cmd/.gitignore
@@ -0,0 +1,3 @@
+/Makefile
+/spl
+/splat
diff --git a/include/.gitignore b/include/.gitignore
new file mode 100644
index 000000000..5fc607b9e
--- /dev/null
+++ b/include/.gitignore
@@ -0,0 +1 @@
+/Makefile
diff --git a/lib/.gitignore b/lib/.gitignore
new file mode 100644
index 000000000..5fc607b9e
--- /dev/null
+++ b/lib/.gitignore
@@ -0,0 +1 @@
+/Makefile
diff --git a/module/.gitignore b/module/.gitignore
new file mode 100644
index 000000000..7a922a409
--- /dev/null
+++ b/module/.gitignore
@@ -0,0 +1,4 @@
+/.tmp_versions
+/Makefile
+/Module.markers
+/Module.symvers
diff --git a/module/spl/.gitignore b/module/spl/.gitignore
new file mode 100644
index 000000000..5fc607b9e
--- /dev/null
+++ b/module/spl/.gitignore
@@ -0,0 +1 @@
+/Makefile
diff --git a/module/splat/.gitignore b/module/splat/.gitignore
new file mode 100644
index 000000000..5fc607b9e
--- /dev/null
+++ b/module/splat/.gitignore
@@ -0,0 +1 @@
+/Makefile
diff --git a/scripts/.gitignore b/scripts/.gitignore
new file mode 100644
index 000000000..5fc607b9e
--- /dev/null
+++ b/scripts/.gitignore
@@ -0,0 +1 @@
+/Makefile