On Tue, 5 Sept 2023 at 23:04, Alper Nebi Yasak <alpernebiya...@gmail.com> wrote: > > On 2023-09-04 22:18 +05:30, Simon Glass wrote: > > Hi Rong, > > > > On Sun, 3 Sept 2023 at 20:50, Rong Tao <rt...@foxmail.com> wrote: > >> > >> From: Rong Tao <rong...@cestc.cn> > >> > >> /build-* can't ignore /build. > > > > How does that directory get created? > > Most likely `make O=build` as an attempt to do out-of-tree builds? FWIW, > I manually create and use build/$board/ directories for build outputs, > but adding "build" to .git/info/exclude is an easy enough alternative.
Reviewed-by: Simon Glass <s...@chromium.org> > > >> Signed-off-by: Rong Tao <rong...@cestc.cn> > >> --- > >> .gitignore | 2 +- > >> 1 file changed, 1 insertion(+), 1 deletion(-) > >> > >> diff --git a/.gitignore b/.gitignore > >> index 002f95de4feb..9697f0088f80 100644 > >> --- a/.gitignore > >> +++ b/.gitignore > >> @@ -35,7 +35,7 @@ > >> *.tab.[ch] > >> > >> # Build tree > >> -/build-* > >> +/build* > >> > >> # > >> # Top-level generic files > >> -- > >> 2.41.0 > >> > > > > Regards, > > Simon