From nobody Mon Feb 9 10:48:22 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+68369+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68369+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=hpe.com ARC-Seal: i=1; a=rsa-sha256; t=1607322226; cv=none; d=zohomail.com; s=zohoarc; b=Fg/zzBGKZURfMIBiZztUA9AHO2/DvU6nj7fcMcPkQ990K1X863hn9FXhE8CJ+unYQDncg6Vax74pHbU3ffh53lDWOZW8rMXW3/fdvlYCNrPobwmI8QCqvAKP4rdoOJuZ/kkGQj+lcpW3PKmD4oEDgOHR19kdD0k0PyHKADSVOa0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1607322226; h=Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:Message-ID:Reply-To:References:Sender:Subject:To; bh=oBkfrJGIPN4p/QQupQom5YGIeVknXXsNPQpE5dIX3mM=; b=H3BI3lalYhCO7S5+WKjBJxQ5CaaGifRrDpOBVH8nmHWRDpKbn8k4j6I/xWM0T3y2NgAQ2a7vUXDE0Q1dnV0bcajMnzqN+F2fcUeGUZN8Q1chnpsZp6BEqK/8wDeC2N7AOyCfc/gqjYRgb8fmS8RNClJDheMPUH8shK7nnu+rPJU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+68369+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 16073222268401000.4018479890668; Sun, 6 Dec 2020 22:23:46 -0800 (PST) Return-Path: X-Received: by 127.0.0.2 with SMTP id VKunYY1788612xrRGYmSe4Gd; Sun, 06 Dec 2020 22:23:46 -0800 X-Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.2793.1607322225745519740 for ; Sun, 06 Dec 2020 22:23:45 -0800 X-Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 0B76N5SB024553 for ; Mon, 7 Dec 2020 06:23:45 GMT X-Received: from g4t3426.houston.hpe.com (g4t3426.houston.hpe.com [15.241.140.75]) by mx0b-002e3701.pphosted.com with ESMTP id 3587mh076a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 07 Dec 2020 06:23:45 +0000 X-Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3426.houston.hpe.com (Postfix) with ESMTP id 7B42954 for ; Mon, 7 Dec 2020 06:23:44 +0000 (UTC) X-Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 99BD74B; Mon, 7 Dec 2020 06:23:43 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Nickle Wang , Peter O'Hanley Subject: [edk2-devel] [PATCH v4 5/6] RedfishPkg: Add EDK2 port of jansson library to build Date: Mon, 7 Dec 2020 13:36:54 +0800 Message-Id: <20201207053655.29101-7-abner.chang@hpe.com> In-Reply-To: <20201207053655.29101-1-abner.chang@hpe.com> References: <20201207053655.29101-1-abner.chang@hpe.com> X-HPE-SCL: -1 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,abner.chang@hpe.com X-Gm-Message-State: J9WUZKtmfqcGQCNVfa1PWidCx1787277AA= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1607322226; bh=WaQ2KzQ5ZoY9lihWQzIrkik3keJJN/Wji1UzglsdbJs=; h=Cc:Date:From:Reply-To:Subject:To; b=NaTWqoM6rLSFzPaGcj/k7wHRWOX0GTAxBpv8qQVQZYttDscN4EBgsfNJf7yFswERYrW p0ULK6geGuOKL0d5U/zMuUu79e/praCGeqqc09N+cEm6I67BltfF+pfQLHnPR055dMGTX AFBxMqwnS/7ijY3obqWCJbRUUeUABgFLupg= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add EDK2 port jansson library (JsonLib) to RedfishPkg Signed-off-by: Abner Chang Cc: Nickle Wang Cc: Peter O'Hanley --- RedfishPkg/RedfishLibs.dsc.inc | 2 ++ RedfishPkg/RedfishPkg.dec | 11 +++++++++++ RedfishPkg/RedfishPkg.dsc | 2 ++ 3 files changed, 15 insertions(+) diff --git a/RedfishPkg/RedfishLibs.dsc.inc b/RedfishPkg/RedfishLibs.dsc.inc index e780b5c270..7051bc398f 100644 --- a/RedfishPkg/RedfishLibs.dsc.inc +++ b/RedfishPkg/RedfishLibs.dsc.inc @@ -11,5 +11,7 @@ # ## !if $(REDFISH_ENABLE) =3D=3D TRUE + CrtLib|RedfishPkg/Library/CrtLib/CrtLib.inf + JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf !endif =20 diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index b38e9b4789..0e33b3afad 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -21,6 +21,17 @@ # Platform implementation-specific Redfish Host Interface. RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.h =20 + ## @libraryclass Provides the C runtime library functions + # CRT library is currently used by edk2 JsonLib (open source + # jansson project) and edk2 RedfishLib (libredfish open source + # project). + CrtLib|Include/Library/CrtLib.h + + ## @libraryclass Provides the library functions based on third party + # jansson library to manipulate JSON data structure. + # + JsonLib|Include/Library/JsonLib.h + [Protocols] ## Include/Protocol/RedfishDiscover.h gEfiRedfishDiscoverProtocolGuid =3D { 0x5db12509, 0x4550, 0x4347, {= 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc index 94e7127bc6..f41f53f63e 100644 --- a/RedfishPkg/RedfishPkg.dsc +++ b/RedfishPkg/RedfishPkg.dsc @@ -43,5 +43,7 @@ =20 [Components] RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLib= Null.inf + RedfishPkg/Library/JsonLib/JsonLib.inf + RedfishPkg/Library/CrtLib/CrtLib.inf =20 !include RedfishPkg/Redfish.dsc.inc --=20 2.17.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#68369): https://edk2.groups.io/g/devel/message/68369 Mute This Topic: https://groups.io/mt/78773271/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-