[Buildroot] [PATCH] .gitignore: ignore output*

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Oct 21 14:04:04 UTC 2017


Hello,

On Sat, 21 Oct 2017 10:01:08 -0400, Gaël PORTAY wrote:
> During development, it is often practical to have many output
> directories.  The output directory is easily specified with O=<output>
> though is it useful to have a convention of 'output...' e.g.
> "output-rpi", "output-rpi2", and "output-rpi3-64".
> 
> Signed-off-by: Gaël PORTAY <gael.portay at savoirfairelinux.com>
> ---
>  .gitignore | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/.gitignore b/.gitignore
> index bb02d9f572..ec5768d053 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -1,4 +1,4 @@
> -/output
> +/output*

Not sure this is a good idea, it kind of makes an assumption on how
people would name their output directories.

If you're annoyed by your output directories, use make O=../output-rpi2
instead of make O=output-rpi2, and that's it :-)

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list