[PATCH] .gitignore: ignore misc include, simple-bin, and tools/generated build artifacts

Simon Glass sjg at chromium.org
Fri Oct 13 18:57:38 CEST 2023


Hi John,

On Fri, 13 Oct 2023 at 06:26, John Clark <inindev at gmail.com> wrote:
>
> make rock5b-rk3588_defconfig
> make
> git status
>
> before
> ~~~~~~~
> On branch master
> Your branch is ahead of 'origin/master' by 1 commit.
>   (use "git push" to publish your local commits)
>
> Untracked files:
>   (use "git add <file>..." to include in what will be committed)
>         include/autoconf.mk
>         include/autoconf.mk.dep
>         include/config.h
>         mkimage-in-simple-bin-spi.mkimage-rockchip-tpl
>         mkimage-in-simple-bin-spi.mkimage-u-boot-spl
>         mkimage-in-simple-bin.mkimage-rockchip-tpl
>         mkimage-in-simple-bin.mkimage-u-boot-spl
>         simple-bin-spi.map
>         simple-bin.fit.fit
>         simple-bin.fit.itb
>         simple-bin.map
>         tools/generated/
>
> after
> ~~~~~~~
> On branch master
> Your branch is ahead of 'origin/master' by 1 commit.
>   (use "git push" to publish your local commits)
>
> nothing to commit, working tree clean
>
> Signed-off-by: John Clark <inindev at gmail.com>
>
> ---
>
>  .gitignore | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>

The mkimage and simple-bin things seem board-specific. Once we get
binman to put intermediate-output files in a subdir, we should be able
to drop this.

>
> diff --git a/.gitignore b/.gitignore
> index 84051b7bfd..a1a79e92fe 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -44,8 +44,10 @@ fit-dtb.blob*
>  /MLO*
>  /SPL*
>  /System.map
> -/u-boot*
>  /boards.cfg
> +/mkimage-in-simple-bin*
> +/simple-bin*
> +/u-boot*
>  /*.log
>
>  #
> @@ -59,12 +61,15 @@ fit-dtb.blob*
>  # Generated files
>  #
>  /spl/
> +/tools/generated/
>  /tpl/
>  /defconfig
>
>  #
>  # Generated include files
>  #
> +/include/autoconf.mk*
> +/include/config.h
>  /include/config/
>  /include/generated/
>
> --
> 2.42.0
>

Regards,
Simon


More information about the U-Boot mailing list