gitignore: Ignore top-evel build dir only

The entry "build/" will ignore any directory named "build" at any level
of the source tree, including our scripts/build directory. We only want
to ignore the top-level build directory created by `make install`.

As the git manpage suggests, entries with slashes at the start or in the
middle will only match at the same level as the .gitignore, hence use
build/** instead.

Signed-off-by: Younes Manton <ymanton@ca.ibm.com>
This commit is contained in:
Younes Manton 2022-08-24 20:07:25 -07:00 committed by Andrei Vagin
parent aeaff64452
commit f78d3d821c

2
.gitignore vendored
View file

@ -42,4 +42,4 @@ lib/.crit-setup.files
compel/include/asm
include/common/asm
include/common/config.h
build/
build/**