.gitignore: add 2 entries to ignore version.h file if present

If you build for a platform (e.g. uefi) and right after that for
another platform ('sbl'), the new build will fail and a version.h
file is left in the tree (bsp/uefi/include/bsp/version.h or
bsp/sbl/include/bsp/version.h depending on the order you built one
after the other). This commit makes git ignore any of those in case
it is there. Note that 'make clean' with the corresponding
PLATFORM variable will clean this file.

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem 2018-03-20 06:32:50 -07:00 committed by Jack Ren
parent d8b1fd2682
commit 9e854eacc5
1 changed files with 2 additions and 0 deletions

View File

@ -1 +1,3 @@
build/
bsp/uefi/include/bsp/version.h
bsp/sbl/include/bsp/version.h