You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/16 08:53:37 UTC

[incubator-nuttx] 06/10: arch: imx6: Add arm_l2cc_pl310.c to Make.defs

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 649337b0774cf2e5405cea35631a9a0672701bee
Author: Masayuki Ishikawa <ma...@gmail.com>
AuthorDate: Mon Nov 16 13:58:57 2020 +0900

    arch: imx6: Add arm_l2cc_pl310.c to Make.defs
    
    Signed-off-by: Masayuki Ishikawa <Ma...@jp.sony.com>
---
 arch/arm/src/imx6/Make.defs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/src/imx6/Make.defs b/arch/arm/src/imx6/Make.defs
index e07033f..eb84c44 100644
--- a/arch/arm/src/imx6/Make.defs
+++ b/arch/arm/src/imx6/Make.defs
@@ -117,6 +117,10 @@ endif
 
 CMN_CSRCS += arm_cache.c
 
+ifeq ($(CONFIG_ARCH_L2CACHE),y)
+CMN_CSRCS += arm_l2cc_pl310.c
+endif
+
 ifeq ($(CONFIG_ARCH_FPU),y)
 CMN_ASRCS += arm_savefpu.S arm_restorefpu.S
 CMN_CSRCS += arm_copyarmstate.c