mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-22 16:08:07 +01:00
Fix compilation when secureboot is not enabled.
This commit is contained in:
parent
bac4bac33a
commit
d27103447c
1
.gitignore
vendored
1
.gitignore
vendored
@ -10,6 +10,7 @@
|
|||||||
*~
|
*~
|
||||||
.cache
|
.cache
|
||||||
/Conf
|
/Conf
|
||||||
|
/ConfJief
|
||||||
/toolchain/
|
/toolchain/
|
||||||
|
|
||||||
|
|
||||||
|
8
Library/OpensslLib/OpensslLibNull.c
Normal file
8
Library/OpensslLib/OpensslLibNull.c
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
#include <Uefi.h>
|
||||||
|
|
||||||
|
#if defined(__GNUC__)
|
||||||
|
#pragma GCC diagnostic ignored "-Wunused"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int gOpensslLibNullDummy; // to silence libtool warning saying that there is no symbols
|
30
Library/OpensslLib/OpensslLibNull.inf
Normal file
30
Library/OpensslLib/OpensslLibNull.inf
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
## @file
|
||||||
|
# OpenSSL Library implementation.
|
||||||
|
#
|
||||||
|
# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.<BR>
|
||||||
|
# This program and the accompanying materials
|
||||||
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
# which accompanies this distribution. The full text of the license may be found at
|
||||||
|
# http://opensource.org/licenses/bsd-license.php
|
||||||
|
#
|
||||||
|
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||||
|
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
#
|
||||||
|
##
|
||||||
|
|
||||||
|
[Defines]
|
||||||
|
INF_VERSION = 0x00010017
|
||||||
|
BASE_NAME = OpensslLib
|
||||||
|
MODULE_UNI_FILE = OpensslLib.uni
|
||||||
|
FILE_GUID = C873A7D0-9824-409f-9B42-2C158B992E69
|
||||||
|
MODULE_TYPE = BASE
|
||||||
|
VERSION_STRING = 1.0
|
||||||
|
LIBRARY_CLASS = OpensslLib
|
||||||
|
|
||||||
|
[Packages]
|
||||||
|
MdePkg/MdePkg.dec
|
||||||
|
#CloverPkg.dec
|
||||||
|
|
||||||
|
[Sources]
|
||||||
|
OpensslLibNull.c
|
||||||
|
|
Loading…
Reference in New Issue
Block a user