Explorar o código

BaseTools: remove useless dependency on libuuid

Signed-off-by: Thierry LARONDE <tlaronde@polynum.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Thierry LARONDE hai 1 ano
pai
achega
aef0061ac2

+ 1 - 5
BaseTools/Source/C/GenFv/GNUmakefile

@@ -14,10 +14,6 @@ include $(MAKEROOT)/Makefiles/app.makefile
 
 LIBS = -lCommon
 ifeq ($(CYGWIN), CYGWIN)
-  LIBS += -L/lib/e2fsprogs -luuid
-endif
-
-ifeq ($(LINUX), Linux)
-  LIBS += -luuid
+  LIBS += -L/lib/e2fsprogs
 endif
 

+ 0 - 5
BaseTools/Source/C/GenFv/GenFvInternalLib.c

@@ -14,11 +14,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 // Include files
 //
 
-#if defined(__FreeBSD__)
-#include <uuid.h>
-#elif defined(__GNUC__)
-#include <uuid/uuid.h>
-#endif
 #ifdef __GNUC__
 #include <sys/stat.h>
 #endif