diff options
author | Sam Protsenko <semen.protsenko@linaro.org> | 2023-10-26 16:00:15 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-11-10 11:01:50 -0500 |
commit | aff5dddd42ae1998f40fc3b1d27858d3a1feafe0 (patch) | |
tree | ffcbb52cf2ce10b0c25281db6e04e455610dd887 | |
parent | ee2ce29223c594d5c3f2f7743fb88a8d05e9918b (diff) |
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
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")
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | tools/.gitignore | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore index a1a79e92fe..3301481192 100644 --- a/.gitignore +++ b/.gitignore @@ -61,7 +61,6 @@ fit-dtb.blob* # Generated files # /spl/ -/tools/generated/ /tpl/ /defconfig diff --git a/tools/.gitignore b/tools/.gitignore index 941d38de21..0108c56730 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -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 |