]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
tools: gitignore: Fix tools/generated path
authorSam Protsenko <semen.protsenko@linaro.org>
Thu, 26 Oct 2023 21:00:15 +0000 (16:00 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 10 Nov 2023 16:01:50 +0000 (11:01 -0500)
'git status' shows 'tools/generated/' after running the build, which is
wrong. The corresponding .gitignore rule was already added in commit
c623642d29be ("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 801c482207c7 (".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: c623642d29be ("Adjust gitignore for tools/generated/")
Fixes: 801c482207c7 (".gitignore: ignore misc include, simple-bin, and tools/generated build artifacts")
.gitignore
tools/.gitignore

index a1a79e92feeffd689a983404723eb1d1f3e58d66..330148119264eea7a7c9ea6bc595a957fc70f270 100644 (file)
@@ -61,7 +61,6 @@ fit-dtb.blob*
 # Generated files
 #
 /spl/
-/tools/generated/
 /tpl/
 /defconfig
 
index 941d38de212d11f54273fc20a5be9ef9154a7dae..0108c567309b2f30a38ef2fdec3b11a3d411fb0f 100644 (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