From 649337b0774cf2e5405cea35631a9a0672701bee Mon Sep 17 00:00:00 2001 From: Masayuki Ishikawa Date: Mon, 16 Nov 2020 13:58:57 +0900 Subject: [PATCH] arch: imx6: Add arm_l2cc_pl310.c to Make.defs Signed-off-by: Masayuki Ishikawa --- 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 e07033fcdf..eb84c44ef1 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