From patchwork Thu Jul 21 11:27:58 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 72560 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp387154qga; Thu, 21 Jul 2016 04:28:02 -0700 (PDT) X-Received: by 10.66.139.162 with SMTP id qz2mr83353551pab.60.1469100482633; Thu, 21 Jul 2016 04:28:02 -0700 (PDT) Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id f9si9325575pfa.18.2016.07.21.04.28.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Jul 2016 04:28:02 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 7E9881A1E40; Thu, 21 Jul 2016 04:28:53 -0700 (PDT) X-Original-To: edk2-devel@ml01.01.org Delivered-To: edk2-devel@ml01.01.org Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (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 611FD1A1E3E for ; Thu, 21 Jul 2016 04:28:51 -0700 (PDT) Received: by mail-io0-x235.google.com with SMTP id q83so73265679iod.1 for ; Thu, 21 Jul 2016 04:28:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=VfHKn0FiUrKAAO2MxuDlyv+sslERB2eXI1TfJOjBsLQ=; b=k1XuKKLDakxtYbp9KXXm3NI3/1B4F7AawTXfZ9alR7xD67/3gXho+YgXslZ9LtxeLO ce52UTbUkgXhWHMI1PPovai3zkGHa0YvlrXsf/Q5Fvh4jd1eMXblcjPIW7Pi4EHNY4Pb B0beSnoO+6RtBAjmoyfPcHNzqBYuUsFSw7x6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=VfHKn0FiUrKAAO2MxuDlyv+sslERB2eXI1TfJOjBsLQ=; b=ZXVRdZtpb6eYnNC3a7KK/UtRPTC0QcmIRWXRdM1w9Ka6vzXwQDCpKXfvkqzWV4H3Da 0J0TEPOYf+obWTzhGA7ddYv4TE1G7YxhTUqdzVfgqqy6F3AnPy9mz/l1yE7QDi2HrDOf Hsf38DO2Dd2arvZ35BcDza6RoeD32Ku406Jn8JfPsgji7MB1gC9Mfxj3fODkehZq7Vy0 kJfpj91lfFbHTrtGrkQxrFNifPSKFkx6jVmA8fN+6Egf7GZ8cteZJFtRo1qusA1ErOci 4zwL295wGD6t3ywXbV2L5Rxtu65hD1bYLSu8CIv26YZItXKlYCF12IyDbFeuBFiKkdEm Yo5Q== X-Gm-Message-State: ALyK8tIjHrnQvOFyq1V4rh7IOOpY7zqwFf+cyNHnq7byCo6GeppghzT3C1wTafH6adxFp2F/CNS4gqisAfYscwHn X-Received: by 10.107.135.22 with SMTP id j22mr53315362iod.56.1469100479411; Thu, 21 Jul 2016 04:27:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.214.6 with HTTP; Thu, 21 Jul 2016 04:27:58 -0700 (PDT) In-Reply-To: References: From: Ard Biesheuvel Date: Thu, 21 Jul 2016 13:27:58 +0200 Message-ID: To: Michael Zimmermann Subject: Re: [edk2] Instance of library class [ArmMmuLib] is not found X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: "edk2-devel@lists.01.org" , jl Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" On 20 July 2016 at 07:44, Michael Zimmermann wrote: > Hi, > > since commit '5db1cce ArmPkg ArmVirtPkg MdeModulePkg: switch to separate > ArmMmuLib' you need to add ArmMmuLib to your platform's dsc file: > > ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf > Indeed. But in this particular case, the reporter is building ArmPkg.dsc from the upstream, and so one would expect the series that introduces ArmMmuLib to keep ArmPkg.dsc in sync as well. My bad. This should do the trick _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/ArmPkg/ArmPkg.dsc b/ArmPkg/ArmPkg.dsc index df5be6e..f4ca3e1 100644 --- a/ArmPkg/ArmPkg.dsc +++ b/ArmPkg/ArmPkg.dsc @@ -38,6 +38,7 @@ RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG [LibraryClasses.common] + ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf BaseLib|MdePkg/Library/BaseLib/BaseLib.inf BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf CacheMaintenanceLib|ArmPkg/Library/ArmCacheMaintenanceLib/ArmCacheMaintenanceLib.inf