From e61f4659c195d512a2c83f7ad69010f670de4678 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Tue, 20 Mar 2018 06:32:50 -0700 Subject: [PATCH] .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 --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 567609b12..6aa20d834 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ build/ +bsp/uefi/include/bsp/version.h +bsp/sbl/include/bsp/version.h