From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web10.4805.1606792341568820754 for ; Mon, 30 Nov 2020 19:12:21 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=NYTBNk4Q; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0604b27a75=abner.chang@hpe.com) Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0B13CJOE002311; Tue, 1 Dec 2020 03:12:19 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=pps0720; bh=NYiD+xQ1qZL0p2UnXVj6QiGBey7mmxwvGDuwmPQRrnw=; b=NYTBNk4QlL1UIn2Ei/n6pwjaUAJIqXpCxpwWPVDmf0RC901LSmj5V1i7PKP4yZZsFvnG AEe+30Z8AyktyNaYRVFK/njyaMgSvuIN+jvk0m18sBH09+Pi3uRoFZsHTVY+uZxtx3mk J91zOcXyRxFhQ7HmIFKSNx8Yxy+Gn0K7TeP3sNGZdbgbPi/LslvhYHjlNZx+P420F34q M2nmc9LEambVKHHxC5//u4RG4vQ+yV+NFdwwo5fKTSv4H/ln6jZ4UGgTtQDKpLQaUo3z BP7DpEMhJZW2dRVgxruaN6+EM8Ieve0OAHx/c6cKrecj1+4WPmvv49brGBnON32zKwYa nA== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 353dnv3prn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 01 Dec 2020 03:12:19 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 0FEDB8D; Tue, 1 Dec 2020 03:12:19 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 7C5FB46; Tue, 1 Dec 2020 03:12:17 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Andrew Fish , Laszlo Ersek , Leif Lindholm , Michael D Kinney , Nickle Wang , Peter O'Hanley Subject: [PATCH v2 3/3] RedfishPkg: Add EDK2 port of jansson library to build Date: Tue, 1 Dec 2020 10:25:44 +0800 Message-Id: <20201201022544.14608-4-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201201022544.14608-1-abner.chang@hpe.com> References: <20201201022544.14608-1-abner.chang@hpe.com> X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-30_12:2020-11-30,2020-11-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 spamscore=0 clxscore=1015 suspectscore=1 impostorscore=0 bulkscore=0 priorityscore=1501 adultscore=0 mlxscore=0 phishscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2012010020 Add EDK2 port jansson library (JsonLib) to RedfishPkg Signed-off-by: Abner Chang Cc: Andrew Fish Cc: Laszlo Ersek Cc: Leif Lindholm Cc: Michael D Kinney Cc: Nickle Wang Cc: Peter O'Hanley --- RedfishPkg/RedfishLibs.dsc.inc | 1 + RedfishPkg/RedfishPkg.dec | 5 +++++ RedfishPkg/RedfishPkg.dsc | 1 + 3 files changed, 7 insertions(+) diff --git a/RedfishPkg/RedfishLibs.dsc.inc b/RedfishPkg/RedfishLibs.dsc.inc index e780b5c270..4c5f4fab1e 100644 --- a/RedfishPkg/RedfishLibs.dsc.inc +++ b/RedfishPkg/RedfishLibs.dsc.inc @@ -11,5 +11,6 @@ # ## !if $(REDFISH_ENABLE) == TRUE + JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf !endif diff --git a/RedfishPkg/RedfishPkg.dec b/RedfishPkg/RedfishPkg.dec index b38e9b4789..90a83c6e1a 100644 --- a/RedfishPkg/RedfishPkg.dec +++ b/RedfishPkg/RedfishPkg.dec @@ -21,6 +21,11 @@ # Platform implementation-specific Redfish Host Interface. RedfishPlatformHostInterfaceLib|Include/Library/RedfishHostInterfaceLib.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 = { 0x5db12509, 0x4550, 0x4347, { 0x96, 0xb3, 0x73, 0xc0, 0xff, 0x6e, 0x86, 0x9f }} diff --git a/RedfishPkg/RedfishPkg.dsc b/RedfishPkg/RedfishPkg.dsc index 94e7127bc6..94370ceb4e 100644 --- a/RedfishPkg/RedfishPkg.dsc +++ b/RedfishPkg/RedfishPkg.dsc @@ -43,5 +43,6 @@ [Components] RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf + RedfishPkg/Library/JsonLib/JsonLib.inf !include RedfishPkg/Redfish.dsc.inc -- 2.17.1