From nobody Sun Apr 28 19:04:37 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 152208116158556.57087450834092; Mon, 26 Mar 2018 09:19:21 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 781EA225E4037; Mon, 26 Mar 2018 09:12:43 -0700 (PDT) Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0E7D4224AE8A2 for ; Mon, 26 Mar 2018 09:12:41 -0700 (PDT) Received: by mail-io0-x242.google.com with SMTP id e79so23930490ioi.7 for ; Mon, 26 Mar 2018 09:19:18 -0700 (PDT) Received: from localhost.localdomain (c-73-44-139-188.hsd1.il.comcast.net. [73.44.139.188]) by smtp.gmail.com with ESMTPSA id k124sm4321945iok.88.2018.03.26.09.19.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Mar 2018 09:19:17 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c06::242; helo=mail-io0-x242.google.com; envelope-from=theracermaster@gmail.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ZtLRNPImNplmQO+1OkvSE7EO2skaR3z7nYq4uLqIjn8=; b=mFDRjGnVqEGACLpexJCo4k3x7JHEGDOwHwPyljGg6nEfD1zEsNfu3mF9cenfemEnUk d7A/5wVM10CkFJij7C4UNLbuiaZFhUlMNIpRrbktDfFYA1ft/UqEctlXkS/R/39r+buD 3SR0L7gpOAwWNyibGx8TmD88EbC9MUo2S1ze01B7NU1dFBwmQf31YAboRYKiI7Lhgd01 hNh+K6sjF+902ubLow97zgEkKCh5A8TcBUbUhP+3hPpX4R4ZCorUnvT04cIuH987bYWw /TwbXzsllkr3u7Gg89azrlIqi14KQ5WUomDvWolwErCAYisJBdychZXGv4vy5GwVb+HW L4Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZtLRNPImNplmQO+1OkvSE7EO2skaR3z7nYq4uLqIjn8=; b=B7OO92Sc6cDFykO2yOXM54SmuXxY2guuLSDA+l4SBfJJo0Td7SEvZqE/tVLCUAncGH zfOIWjJSTDhCEQjOQ9Cy0dzHwWH0U7mAk+YuiZGVoQnjSUTOsHyAyFyLyDk12xxIObT+ 6FiXkSktQorLa5x61DaXCgSl1wW3eENTygPF3/5k65gxkL3vfGhFjgltL7aSJAmng4iU VntBGba9rbd1+8jOvpS/My0fx5wC7ayw3EIhmmZ+fCOAa2ZIKL/FIkNfrR1sQpnJhD6d Ln2lpsXBFXvIwBPpuqpQ8ZxJdc5rtaxELyaLzrK4Ofi+Lfum3HtIF2/dRZRaFhk7PptV CHPg== X-Gm-Message-State: AElRT7EstblYPazVjqsUWYu+b6ffgeNiM56j1QX0GOaBkRzsPGPvgSWy eKOGk0VmksqX9AWTN7mqkxHzVmcr X-Google-Smtp-Source: AG47ELuZIzNvNxoTEnUfcB/E2zRPbHEH8U0W2aPqiQwCfVvmgK5j2h2cQZHUMQzGEZ831VLpzHnNig== X-Received: by 10.107.133.232 with SMTP id p101mr41568260ioi.44.1522081157597; Mon, 26 Mar 2018 09:19:17 -0700 (PDT) From: Alex James To: edk2-devel@lists.01.org Date: Mon, 26 Mar 2018 11:15:10 -0500 Message-Id: <20180326161510.15643-1-theracermaster@gmail.com> X-Mailer: git-send-email 2.16.3 Subject: [edk2] [PATCH v1] CorebootPayloadPkg: Conditionally add DebugAgentLib for DXE drivers X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Prince Agyeman MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" To fix building with SOURCE_DEBUG_ENABLE, add DebugAgentLib for LibraryClasses.common.DXE_DRIVER, as is done with Vlv2TbltDevicePkg. Cc: Maurice Ma Cc: Prince Agyeman Cc: Benjamin You Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Alex James Reviewed-by: Benjamin You --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 3 +++ CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloa= dPkg/CorebootPayloadPkgIa32.dsc index ace1bc0a37..b6cdb697a5 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -239,6 +239,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExt= ractGuidedSectionLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf +!if $(SOURCE_DEBUG_ENABLE) + DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf +!endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf =20 diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPay= loadPkg/CorebootPayloadPkgIa32X64.dsc index 2492142b97..c3fe099e5f 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -239,6 +239,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAll= ocationLib.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExt= ractGuidedSectionLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeRepor= tStatusCodeLib.inf +!if $(SOURCE_DEBUG_ENABLE) + DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf +!endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuE= xceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf =20 --=20 2.16.3 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel