From 9e854eacc5cc5d20d65f1fd78de65daa574b26c0 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 --- hypervisor/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hypervisor/.gitignore b/hypervisor/.gitignore index 567609b12..6aa20d834 100644 --- a/hypervisor/.gitignore +++ b/hypervisor/.gitignore @@ -1 +1,3 @@ build/ +bsp/uefi/include/bsp/version.h +bsp/sbl/include/bsp/version.h