From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x22e.google.com (mail-lf0-x22e.google.com [IPv6:2a00:1450:4010:c07::22e]) (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 811061A1E0F for ; Mon, 26 Sep 2016 18:15:57 -0700 (PDT) Received: by mail-lf0-x22e.google.com with SMTP id g62so167909292lfe.3 for ; Mon, 26 Sep 2016 18:15:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=pOqMI1uZiTzZ+v1+keb5FnW0G6B28GUNJRN0D8pRcm0=; b=jDq0MBbVKsH8ZxHexdIthw+hPAqj9FpoJqK10y4qiYhozt6kPFfHFOiMcStWFScbLd osobT7W7gPegyrsPxC4CuBVU7eet1YZMuByTTbNo4o7KBKBKasUeNYvecATDvcMRNVh0 iljVokr/8BUTHIyGIhD1r+VJa9hC5fUwA8rPg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=pOqMI1uZiTzZ+v1+keb5FnW0G6B28GUNJRN0D8pRcm0=; b=EOAE258EraPVDZgy4C47O7TEIzEqq1oAKai0fi0GeBWRSmOE1eC0ypu4pc0FylYpUO v5pLEA8mLhF3WuAre1Hrz4PCepVP8cYvssJM2ZQE1Avnz3KxwM//MygWuug6AqLGXupP jOdUqZHYjVM3+4B3dYYnApKhNYAZWi+1CnhtHRTjYmRiMByizIqDYYks6OIy0DmwAI/T pVUnc4bZ8WGXTyRD+rX/YtlBzhWFE3tIhYMn+cPiv8b6zg1MFvIlOWtRdExbFgma0kq9 znuCoUXd/a4o88tDF6kuxb8/mTK4dd6YOPYFYiUKjBcEP7HEvbmCRxRQ1KxBjMjRsaqR 5FPQ== X-Gm-Message-State: AA6/9RnYAAwd44LosyjeU/DAtUF5NYoGcOkBH6BNL32ex7a/zm87amSFbqyeTTG3yTPbqH/9 X-Received: by 10.28.63.84 with SMTP id m81mr515846wma.88.1474938954383; Mon, 26 Sep 2016 18:15:54 -0700 (PDT) Received: from mohikan.mushroom.smurfnet.nu ([2a01:348:6:8735:e23f:49ff:fe6d:9d26]) by smtp.gmail.com with ESMTPSA id u185sm214718wmu.20.2016.09.26.18.15.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Sep 2016 18:15:53 -0700 (PDT) From: Leif Lindholm To: edk2-devel@lists.01.org Cc: Feng Tian , Star Zeng , Andrew Fish , Michael D Kinney , Ard Biesheuvel Date: Tue, 27 Sep 2016 02:15:52 +0100 Message-Id: <20160927011552.20384-1-leif.lindholm@linaro.org> X-Mailer: git-send-email 2.9.3 Subject: [PATCH] MdeModulePkg: add ARM/AARCH64 requirements to .dsc X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Sep 2016 01:15:58 -0000 Some LibraryClasses entries are missing to enable standalone builds of MdeModulePkg components for ARM/AARCH64. Add those. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Leif Lindholm --- Tying back to the conversation in https://lists.01.org/pipermail/edk2-devel/2016-August/000733.html If we are not going to refactor the DxeIpl code, would this be an acceptable fix to enable standalone HelloWorld builds on ARM/AARCH64? BaseStackCheckLib is unrelated to the DxeIpl issue, but needed in practice on ARM and in theory on AARCH64. MdeModulePkg/MdeModulePkg.dsc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MdeModulePkg/MdeModulePkg.dsc b/MdeModulePkg/MdeModulePkg.dsc index 05120c7..3eb55db 100644 --- a/MdeModulePkg/MdeModulePkg.dsc +++ b/MdeModulePkg/MdeModulePkg.dsc @@ -160,6 +160,9 @@ [LibraryClasses.common.UEFI_APPLICATION] DebugLib|MdePkg/Library/UefiDebugLibStdErr/UefiDebugLibStdErr.inf [LibraryClasses.ARM, LibraryClasses.AARCH64] + ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf + ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf + # # It is not possible to prevent ARM compiler calls to generic intrinsic functions. # This library provides the instrinsic functions generated by a given compiler. @@ -167,6 +170,12 @@ [LibraryClasses.ARM, LibraryClasses.AARCH64] # NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + # + # Since software stack checking may be heuristically enabled by the compiler + # include BaseStackCheckLib unconditionally. + # + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf + [LibraryClasses.EBC] LockBoxLib|MdeModulePkg/Library/LockBoxNullLib/LockBoxNullLib.inf -- 2.9.3