diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..fbc7ed1aa9d630c6be410dbd9a564cbe3a089876
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1,5 @@
+# Ignore everything in this directory
+*
+# Except these files
+!.gitignore
+!README