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.web12.2724.1635496288404531137 for ; Fri, 29 Oct 2021 01:31:36 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=pFXcw137; spf=temperror, err=temporary DNS error (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0936a41adb=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19T61uLF021386; Fri, 29 Oct 2021 08:31:21 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding; s=pps0720; bh=aiKHUZqwAQQZndZsH00IHpc1mx/4Gz+rAvWdTAKX1/Y=; b=pFXcw137sSEdUgD7I5hN3wbxhougG0W4c6LQoI+c6Dgs4ckpQpMTtlVE5LbiS0rDRiwo Ugzo5+XqFDJ/AsPMKME7v6ydLOJ2mqUnlmAuNFUG2mCw4TQP/Z4/a2Mrd1qj/jvzvsRV x2HQjYi5cE7xga9zU+fztS06aFMUW8EDgwDgcAoVOCLqYQ3zVZ5iFSqtlrH4HRINLEWx Pueak95Nlol44sYavBNZV2YRPUQb0osGMvnXyKf6npkBlF7Znr6QsQ/8C9rAgO2ff9qw abPcVmNx+BhqNnoCn6h8KYiJ9lGne7zNo2BicCkZqeswXy+V0ReSsx4r7qMvq0NZ0E77 EA== Received: from g4t3427.houston.hpe.com (g4t3427.houston.hpe.com [15.241.140.73]) by mx0b-002e3701.pphosted.com with ESMTP id 3c05exkf6p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 08:31:21 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g4t3427.houston.hpe.com (Postfix) with ESMTP id 9E7125C; Fri, 29 Oct 2021 08:31:20 +0000 (UTC) Received: from SAC2XFT1JT.asiapacific.hpqcorp.net (unknown [10.43.62.133]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 11C9949; Fri, 29 Oct 2021 08:31:18 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: nickle.wang@hpe.com, Liming Gao , Andrew Fish , Ray Ni Subject: [PATCH] edk2-staging/EmulatorPkg: Add REDFISH_CLIENT macro Date: Fri, 29 Oct 2021 16:31:17 +0800 Message-Id: <20211029083117.158928-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.21.0.windows.1 MIME-Version: 1.0 X-Proofpoint-GUID: YB-q7owIPaLxiXUDAk8ikZ52RQcZxlhP X-Proofpoint-ORIG-GUID: YB-q7owIPaLxiXUDAk8ikZ52RQcZxlhP X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-29_01,2021-10-26_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 spamscore=0 malwarescore=0 mlxscore=0 adultscore=0 mlxlogscore=990 suspectscore=0 phishscore=0 clxscore=1015 impostorscore=0 bulkscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2110290047 Content-Transfer-Encoding: 8bit Add REDFISH_CLIENT macro to control RedfishClientPkg modules. Signed-off-by: Nickle Wang Cc: Abner Chang Cc: Liming Gao Cc: Andrew Fish Cc: Ray Ni --- EmulatorPkg/EmulatorPkg.dsc | 3 +++ EmulatorPkg/EmulatorPkg.fdf | 1 + 2 files changed, 4 insertions(+) diff --git a/EmulatorPkg/EmulatorPkg.dsc b/EmulatorPkg/EmulatorPkg.dsc index 68371c96860..b53e24d6f57 100644 --- a/EmulatorPkg/EmulatorPkg.dsc +++ b/EmulatorPkg/EmulatorPkg.dsc @@ -41,6 +41,8 @@ # Redfish definition # DEFINE REDFISH_ENABLE = TRUE + DEFINE REDFISH_CLIENT = FALSE + !if $(REDFISH_ENABLE) == TRUE # @@ -491,6 +493,7 @@ EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf !endif !include RedfishPkg/Redfish.dsc.inc +!include RedfishClientPkg/RedfishClient.dsc.inc [BuildOptions] # diff --git a/EmulatorPkg/EmulatorPkg.fdf b/EmulatorPkg/EmulatorPkg.fdf index 1d5f67c2695..5e770af186c 100644 --- a/EmulatorPkg/EmulatorPkg.fdf +++ b/EmulatorPkg/EmulatorPkg.fdf @@ -216,6 +216,7 @@ INF EmulatorPkg/EmuSnpDxe/EmuSnpDxe.inf INF EmulatorPkg/Hii2RedfishMemoryDxe/Hii2RedfishMemoryDxe.inf !endif !include RedfishPkg/Redfish.fdf.inc +!include RedfishClientPkg/RedfishClient.fdf.inc INF FatPkg/EnhancedFatDxe/Fat.inf -- 2.21.0.windows.1