]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Robustness for multiple build environments
authorBurt Silverman <burtms@gmail.com>
Sat, 7 Sep 2019 20:33:53 +0000 (16:33 -0400)
committerLiming Gao <liming.gao@intel.com>
Wed, 11 Sep 2019 14:30:16 +0000 (22:30 +0800)
commit5e5abfcab4c2962005be89c951a86f55db27555e
tree8bc60bf62c22d26a8d8198df59b8b66ef43027d1
parent7809492c10e8950a1b92581e6e87c6a4be069077
BaseTools: 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>
Reviewed-by: Liming Gao <liming.gao@intel.com>
BaseTools/Source/C/Makefile