From patchwork Tue Apr 11 09:48:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 97231 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1727938qgd; Tue, 11 Apr 2017 02:48:45 -0700 (PDT) X-Received: by 10.237.36.105 with SMTP id s38mr17169158qtc.185.1491904124961; Tue, 11 Apr 2017 02:48:44 -0700 (PDT) Return-Path: Received: from lists.linaro.org (lists.linaro.org. [54.225.227.206]) by mx.google.com with ESMTP id f29si15942475qtg.228.2017.04.11.02.48.44; Tue, 11 Apr 2017 02:48:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) client-ip=54.225.227.206; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linaro-uefi-bounces@lists.linaro.org designates 54.225.227.206 as permitted sender) smtp.mailfrom=linaro-uefi-bounces@lists.linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 61EFC635DB; Tue, 11 Apr 2017 09:48:44 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by lists.linaro.org (Postfix) with ESMTP id 52F65635FB; Tue, 11 Apr 2017 09:48:42 +0000 (UTC) X-Original-To: linaro-uefi@lists.linaro.org Delivered-To: linaro-uefi@lists.linaro.org Received: by lists.linaro.org (Postfix, from userid 109) id 69662635DB; Tue, 11 Apr 2017 09:48:41 +0000 (UTC) Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by lists.linaro.org (Postfix) with ESMTPS id 323BF635DB for ; Tue, 11 Apr 2017 09:48:39 +0000 (UTC) Received: by mail-wm0-f45.google.com with SMTP id t189so56794097wmt.1 for ; Tue, 11 Apr 2017 02:48:39 -0700 (PDT) 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=sRthhPCR65ilAfTs8t5Sm1Dg705iQ/AwZzPSFbmL1BQ=; b=m5FKBrkNPe9PKmWRbLTjfmDUBRh6+EuuatHMGhQGX/3pR5PyVHa1YGYjWm2V2t49sk NanXf1KoJy80HQ5enHpsUBpaik1HkUzi0cEhI0jqZ2fluGWHMosig1NBHsq031tYne0Y ULKWCmGNG55oajGKPVtny4wAGYX21E7nyQ06rIb3oDu4L0hUL5a4Bh4Qn8UPV4snDhWK eLz8fR/AdCU7QnIITWplpyYTGW7lJMpq8jHqkRKrxaxqsumxwcch02OB8gEm8IDVFrbR GB1Jvmw8zg2Xoztu6gOVuxChnP7czu7F2Rvudck57gLF3QeINDHaUCeHUzfuCteKGjK4 EC6w== X-Gm-Message-State: AN3rC/5ZPJrnlr7864cJYx/R+DI8zERPlYo9RDDExb7ipj6l9S1mgJFw fwAKZk9tD1ep2Mrr5xc= X-Received: by 10.28.157.84 with SMTP id g81mr9832105wme.120.1491904118322; Tue, 11 Apr 2017 02:48:38 -0700 (PDT) Received: from localhost.localdomain ([196.85.182.219]) by smtp.gmail.com with ESMTPSA id g63sm1771984wme.11.2017.04.11.02.48.36 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Apr 2017 02:48:37 -0700 (PDT) From: Ard Biesheuvel To: linaro-uefi@lists.linaro.org Date: Tue, 11 Apr 2017 10:48:31 +0100 Message-Id: <20170411094832.8056-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.9.3 Cc: chenhui.sun@linaro.org Subject: [Linaro-uefi] [PATCH 1/2] Chips/Hisilicon: add missing UefiBootManagerLib resolution to shared .inc X-BeenThere: linaro-uefi@lists.linaro.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: linaro-uefi-bounces@lists.linaro.org Sender: "Linaro-uefi" Upstream EDK2 changes now require platforms that build the UEFI Shell from source to provide a resolution for UefiBootManagerLib, and some other library class it transitively depends on. So add them to the DSC include shared between the HiSilicon platforms. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Leif Lindholm --- Chips/Hisilicon/Hisilicon.dsc.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Chips/Hisilicon/Hisilicon.dsc.inc b/Chips/Hisilicon/Hisilicon.dsc.inc index d856a659a8fb..716900874274 100644 --- a/Chips/Hisilicon/Hisilicon.dsc.inc +++ b/Chips/Hisilicon/Hisilicon.dsc.inc @@ -198,7 +198,12 @@ HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf + +[LibraryClasses.common.UEFI_DRIVER,LibraryClasses.common.UEFI_APPLICATION] + DxeServicesLib|MdePkg/Library/DxeServicesLib/DxeServicesLib.inf + ReportStatusCodeLib|MdeModulePkg/Library/DxeReportStatusCodeLib/DxeReportStatusCodeLib.inf SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf + UefiBootManagerLib|MdeModulePkg/Library/UefiBootManagerLib/UefiBootManagerLib.inf [LibraryClasses.common.UEFI_DRIVER] ReportStatusCodeLib|IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/DxeReportStatusCodeLib.inf