Reviewed-by: Liming Gao <liming.gao@intel.com>

 

From: devel@edk2.groups.io [mailto:devel@edk2.groups.io] On Behalf Of Burt Silverman
Sent: Sunday, September 8, 2019 6:10 AM
To: devel@edk2.groups.io
Subject: [edk2-devel] Increase robustness of nmake BaseTools build for space also used by make

 

Author: Burt Silverman <burtms@gmail.com>
Date:   Sat Sep 7 16:33:53 2019 -0400

    Improve robustness for multiple build environments

    When building BaseTools, GNUmakefile builds create directory
    BaseTools/Source/C/libs/. On the other hand, Makefile builds use libs
    as an nmake pseudo target, so it either must NOT exist as a file or
    directory, OR it must phony dependency like .PHONY. The latter
    solution conflicts with NmakeSubdirs.py. Therefore, I make it go away
    in the cleanall target. I could also add it to the clean target, but
    it strikes me that cleanall should be more forceful.

    Signed-off-by: Burt Silverman <burtms@gmail.com>