From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 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) 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) 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) From: Alex James To: edk2-devel@lists.01.org Cc: Maurice Ma , Prince Agyeman , Benjamin You 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: [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: , X-List-Received-Date: Mon, 26 Mar 2018 16:12:42 -0000 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 --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc | 3 +++ CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 3 +++ 2 files changed, 6 insertions(+) diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc index ace1bc0a37..b6cdb697a5 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc @@ -239,6 +239,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf +!if $(SOURCE_DEBUG_ENABLE) + DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf +!endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf diff --git a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc index 2492142b97..c3fe099e5f 100644 --- a/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +++ b/CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc @@ -239,6 +239,9 @@ MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf ExtractGuidedSectionLib|MdePkg/Library/DxeExtractGuidedSectionLib/DxeExtractGuidedSectionLib.inf ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf +!if $(SOURCE_DEBUG_ENABLE) + DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf +!endif CpuExceptionHandlerLib|UefiCpuPkg/Library/CpuExceptionHandlerLib/DxeCpuExceptionHandlerLib.inf MpInitLib|UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf -- 2.16.3