diff options
author | Thierry LARONDE <tlaronde@polynum.com> | 2023-01-31 19:14:21 +0100 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-02-07 03:10:41 +0000 |
commit | aef0061ac22fb14d631aa0398d2cb496b2f7b8c8 (patch) | |
tree | 5e0beae3eb383cdc8b75cd2ebfbbedab64e7e47d | |
parent | aea8a9c954a79029ded443eadf7c92716c1753cc (diff) | |
download | edk2-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/GNUmakefile | 6 | ||||
-rw-r--r-- | BaseTools/Source/C/GenFv/GenFvInternalLib.c | 5 |
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
|