summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry LARONDE <tlaronde@polynum.com>2023-01-31 19:14:21 +0100
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2023-02-07 03:10:41 +0000
commitaef0061ac22fb14d631aa0398d2cb496b2f7b8c8 (patch)
tree5e0beae3eb383cdc8b75cd2ebfbbedab64e7e47d
parentaea8a9c954a79029ded443eadf7c92716c1753cc (diff)
downloadedk2-aef0061ac22fb14d631aa0398d2cb496b2f7b8c8.tar.gz
edk2-aef0061ac22fb14d631aa0398d2cb496b2f7b8c8.tar.bz2
edk2-aef0061ac22fb14d631aa0398d2cb496b2f7b8c8.zip
BaseTools: remove useless dependency on libuuid
Signed-off-by: Thierry LARONDE <tlaronde@polynum.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
-rw-r--r--BaseTools/Source/C/GenFv/GNUmakefile6
-rw-r--r--BaseTools/Source/C/GenFv/GenFvInternalLib.c5
2 files changed, 1 insertions, 10 deletions
diff --git a/BaseTools/Source/C/GenFv/GNUmakefile b/BaseTools/Source/C/GenFv/GNUmakefile
index 7c7b95ba1b..872b981f6a 100644
--- a/BaseTools/Source/C/GenFv/GNUmakefile
+++ b/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
diff --git a/BaseTools/Source/C/GenFv/GenFvInternalLib.c b/BaseTools/Source/C/GenFv/GenFvInternalLib.c
index 6bd59515b1..2df7182f8b 100644
--- a/BaseTools/Source/C/GenFv/GenFvInternalLib.c
+++ b/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