On Tue, Oct 15, 2019 at 01:21:35AM +0000, Chang, Abner (HPS SW/FW Technologist) wrote: > > > > -----Original Message----- > > From: Leif Lindholm [mailto:leif.lindh...@linaro.org] > > Sent: Tuesday, October 1, 2019 4:04 AM > > To: devel@edk2.groups.io; Chang, Abner (HPS SW/FW Technologist) > > <abner.ch...@hpe.com> > > Subject: Re: [edk2-devel] [edk2-staging/RISC-V-V2 PATCH v2 18/29] > > RiscVPkg/Library: Add EDK2 RISC-V OpenSBI library. > > > > On Mon, Sep 23, 2019 at 08:31:44AM +0800, Abner Chang wrote: > > > EDK2 RISC-V OpenSBI library which pull in external source files under > > > RiscVPkg/opensbi to the build process. > > > > > > Signed-off-by: Abner Chang <abner.ch...@hpe.com> > > > --- > > > .../Library/RiscVOpensbiLib/RiscVOpensbiLib.inf | 52 > > ++++++++++++++++++++++ > > > 1 file changed, 52 insertions(+) > > > create mode 100644 > > > RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > > > > > > diff --git a/RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > > > b/RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > > > new file mode 100644 > > > index 0000000..640ffba > > > --- /dev/null > > > +++ b/RiscVPkg/Library/RiscVOpensbiLib/RiscVOpensbiLib.inf > > > @@ -0,0 +1,52 @@ > > > +## @file > > > +# RISC-V Opensbi Library Instance. > > > +# > > > +# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All > > > +rights reserved.<BR> # # SPDX-License-Identifier: > > > +BSD-2-Clause-Patent # ## > > > + > > > +[Defines] > > > + INF_VERSION = 0x0001001b > > > + BASE_NAME = RiscVOpensbiLib > > > + FILE_GUID = 6EF0C812-66F6-11E9-93CE-3F5D5F0DF0A7 > > > + MODULE_TYPE = BASE > > > + VERSION_STRING = 1.0 > > > + LIBRARY_CLASS = RiscVOpensbiLib > > > + > > > +[Sources] > > > + ../../opensbi/lib/sbi/riscv_asm.c > > > > Please move the opensbi directory to here instead. > > > This is good. Now [Includes] in RiscVPkg.dec looks like this, > [Includes] > Library/RiscvOpensbiLib/opensbi > Library/RiscvOpensbiLib/opensbi/include
Exactly, thanks! / Leif -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#48986): https://edk2.groups.io/g/devel/message/48986 Mute This Topic: https://groups.io/mt/34258215/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-