tools: gitignore: Fix tools/generated path

'git status' shows 'tools/generated/' after running the build, which is
wrong. The corresponding .gitignore rule was already added in commit
c623642d29 ("Adjust gitignore for tools/generated/"), but because of
superfluous 'tools/' part it wasn't in effect. Remove incorrect 'tools/'
part to fix it.

While at it, remove tools/ path incorrectly added to the top-level
.gitignore in commit 801c482207 (".gitignore: ignore misc include,
simple-bin, and tools/generated build artifacts"), as it's required in
the comment on the top of .gitignore:

    # NOTE! Don't add files that are generated in specific
    # subdirectories here. Add them in the ".gitignore" file
    # in that subdirectory instead.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Fixes: c623642d29 ("Adjust gitignore for tools/generated/")
Fixes: 801c482207 (".gitignore: ignore misc include, simple-bin, and tools/generated build artifacts")
This commit is contained in:
Sam Protsenko 2023-10-26 16:00:15 -05:00 committed by Tom Rini
parent ee2ce29223
commit aff5dddd42
2 changed files with 1 additions and 2 deletions

1
.gitignore vendored
View file

@ -61,7 +61,6 @@ fit-dtb.blob*
# Generated files
#
/spl/
/tools/generated/
/tpl/
/defconfig

2
tools/.gitignore vendored
View file

@ -34,7 +34,7 @@
/relocate-rela
/spl_size_limit
/sunxi-spl-image-builder
/tools/generated/**/*.c
/generated/**/*.c
/update_octeon_header
/version.h
/xway-swap-bytes