diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..b45af33f0d528a2c9f2fd7ded1608553f3b0c9a5
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+.config*
+bin
+build_*
+toolchain_build_*
+staging_dir_*
+tmp
+dl
+tool_build
diff --git a/scripts/config/.gitignore b/scripts/config/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..129d4ecdb5e0be0a7213966d107d636a4cee128f
--- /dev/null
+++ b/scripts/config/.gitignore
@@ -0,0 +1,5 @@
+*.o
+lxdialog
+conf
+mconf
+*.*.c