diff --git a/.gitignore b/.gitignore
new file mode 100644
index 000000000000..420c8d5cd4df
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+build/
+patches/
+*.patch
+*.orig
