[Buildroot] [PATCH] Add a .gitignore file

Michael Roth mroth at nessie.de
Mon May 4 09:04:17 UTC 2009


> diff --git a/.gitignore b/.gitignore
> new file mode 100644
> index 0000000..191e148
> --- /dev/null
> +++ b/.gitignore
> @@ -0,0 +1,16 @@
> +build_*
> +project_*
> +toolchain_*
> +binaries/*
> +.auto.deps
> +.config.cmd
> +.config.old

Add leading slashes to match only in top level dir:

/build_*
/project_*
/toolchain_*
/binaries
/.auto.deps
/.config.cmd
/.config.old


> +package/config/.depend
> +package/config/*.o
> +package/config/lxdialog/*.o

Maybe two global patterns:

*.o
*.depend




More information about the buildroot mailing list