From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f177.google.com (mail-pg1-f177.google.com [209.85.215.177]) by mx.groups.io with SMTP id smtpd.web10.1650.1659659716749823950 for ; Thu, 04 Aug 2022 17:35:16 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20210112 header.b=DxCSg+HI; spf=pass (domain: gmail.com, ip: 209.85.215.177, mailfrom: kuqin12@gmail.com) Received: by mail-pg1-f177.google.com with SMTP id j17so1328825pgl.5 for ; Thu, 04 Aug 2022 17:35:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=C3PjCsRIgTAMfK095+xHJH5mAlLXJPpnHnUK8ig34ME=; b=DxCSg+HISjXLkAQmJSYQqLZwdkDZxCJJQRLHuYuWo5P6XN7TXlhsfN+m56MXzhAwUc fTxlSVJKX70g6yjH2W+OKoQe7/bZsc1et8aSfoAbTdOGO9P7mQtGq0Rkogr+4UBUWUOy Grx80J1gZ1bVkU3byH/YCPRwhW4QIH4sx6mZWQ3670lN5eZHpYDKAGdFfZPN43CAWCHt sDfyjWp+FVabczoMkVJ9W70Rg4aEyQcq5vkWEYXuMjvTc7J5sWk860IuqU6HR4251QqD lmFzcU/O5sQeaDZhwL5Ywf3OcSGWKBBaoccOGvTe7RGxcEQOsy7Sk8sjrbqnXVJF30wr qo5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=C3PjCsRIgTAMfK095+xHJH5mAlLXJPpnHnUK8ig34ME=; b=IxHQJqT92JpLZzcf9qIuuqLz0X7faDR3/34tzafV1+hs8byDTFVUuoYV9UpFpAi7XK 1ppY8sdgJ9kChBAXtw3N9jxZeeBrz6wdTMhNphw9mBUJQyC5RM48QbGqS9hg97sakfYa KhnQQnd8m7QhR6EK6dOgdQGEd/ugJcBvENeFfaKctF5q2iQ1x+GFkX/3TZP1qEBeNER3 eVgB33kvZNu97+7OtSVLmjEUhEal3K+INJq/5AT5QbWlP50ebld3O7PxKvImDscU3NhM tdAoA/EG0qXNFvCkbhuUAWryH9Ze5cj5ePd0OZNgygtUBObg7nvX74ZF94GziGuLbPa3 XfJg== X-Gm-Message-State: ACgBeo2q41yYVtyuAwuhKkqHlwHK/BsCQ05tf8TQemUWsgS0iAWAJmGG we6tib6Xy0222J2rZTfhVpoCW9UTH4o= X-Google-Smtp-Source: AA6agR51Q6xJkE5esRRg4h5ytV7f103gunSYgByVG6PoMk5TF8G2jaT9TUmIPM+eav6gtoTdbwJCJg== X-Received: by 2002:a63:4566:0:b0:41d:353:46b4 with SMTP id u38-20020a634566000000b0041d035346b4mr737425pgk.316.1659659716058; Thu, 04 Aug 2022 17:35:16 -0700 (PDT) Return-Path: Received: from MININT-0U7P5GU.redmond.corp.microsoft.com ([2001:4898:80e8:a:a1b3:892a:ee11:1b86]) by smtp.gmail.com with ESMTPSA id 141-20020a621493000000b0052d14966783sm1661198pfu.15.2022.08.04.17.35.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Aug 2022 17:35:15 -0700 (PDT) From: "Kun Qin" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm , Jeremy Linton Subject: [edk2-platforms][PATCH v4 1/6] RaspberryPi: Platform Build: Resolving newly introduced dependency Date: Thu, 4 Aug 2022 17:35:06 -0700 Message-Id: <20220805003512.1478-2-kuqin12@gmail.com> X-Mailer: git-send-email 2.37.1.windows.1 In-Reply-To: <20220805003512.1478-1-kuqin12@gmail.com> References: <20220805003512.1478-1-kuqin12@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable The new changes in SecureBootVariableLib brought in a new dependency of PlatformPKProtectionLib. This change added the new library instance from SecurityPkg to resolve RaspberryPi platforms build. Cc: Ard Biesheuvel Cc: Leif Lindholm Cc: Jeremy Linton Signed-off-by: Kun Qin Reviewed-by: Jeremy Linton --- Notes: v2: - Add reviewed-by tag [Jeremy] =20=20=20=20 v4: - Updated commit title. Platform/RaspberryPi/RPi3/RPi3.dsc | 1 + Platform/RaspberryPi/RPi4/RPi4.dsc | 1 + 2 files changed, 2 insertions(+) diff --git a/Platform/RaspberryPi/RPi3/RPi3.dsc b/Platform/RaspberryPi/RPi3= /RPi3.dsc index 0eed03c097f8..4e7377a00036 100644 --- a/Platform/RaspberryPi/RPi3/RPi3.dsc +++ b/Platform/RaspberryPi/RPi3/RPi3.dsc @@ -169,6 +169,7 @@ [LibraryClasses.common] PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.in= f=0D SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBo= otVariableLib.inf=0D SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariablePro= visionLib/SecureBootVariableProvisionLib.inf=0D + PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPo= licy/PlatformPKProtectionLibVarPolicy.inf=0D !else=0D TpmMeasurementLib|MdeModulePkg/Library/TpmMeasurementLibNull/TpmMeasurem= entLibNull.inf=0D AuthVariableLib|MdeModulePkg/Library/AuthVariableLibNull/AuthVariableLib= Null.inf=0D diff --git a/Platform/RaspberryPi/RPi4/RPi4.dsc b/Platform/RaspberryPi/RPi4= /RPi4.dsc index eabddd7382cf..8ba0ca61851e 100644 --- a/Platform/RaspberryPi/RPi4/RPi4.dsc +++ b/Platform/RaspberryPi/RPi4/RPi4.dsc @@ -166,6 +166,7 @@ [LibraryClasses.common] AuthVariableLib|SecurityPkg/Library/AuthVariableLib/AuthVariableLib.inf= =0D SecureBootVariableLib|SecurityPkg/Library/SecureBootVariableLib/SecureBo= otVariableLib.inf=0D SecureBootVariableProvisionLib|SecurityPkg/Library/SecureBootVariablePro= visionLib/SecureBootVariableProvisionLib.inf=0D + PlatformPKProtectionLib|SecurityPkg/Library/PlatformPKProtectionLibVarPo= licy/PlatformPKProtectionLibVarPolicy.inf=0D =0D # re-use the UserPhysicalPresent() dummy implementation from the ovmf tr= ee=0D PlatformSecureLib|OvmfPkg/Library/PlatformSecureLib/PlatformSecureLib.in= f=0D --=20 2.37.1.windows.1