diff --git a/arch/arm/src/a1x/Make.defs b/arch/arm/src/a1x/Make.defs index 82ba23bc52..b00b349381 100644 --- a/arch/arm/src/a1x/Make.defs +++ b/arch/arm/src/a1x/Make.defs @@ -98,6 +98,9 @@ endif ifeq ($(CONFIG_ARCH_KERNEL_STACK),y) CMN_CSRCS += arm_addrenv_kstack.c endif +ifeq ($(CONFIG_MM_SHM),y) +CMN_CSRCS += arm_addrenv_shm.c +endif endif ifeq ($(CONFIG_MM_PGALLOC),y) diff --git a/arch/arm/src/sama5/Make.defs b/arch/arm/src/sama5/Make.defs index ba8012837e..9b1c192c2c 100644 --- a/arch/arm/src/sama5/Make.defs +++ b/arch/arm/src/sama5/Make.defs @@ -1,4 +1,5 @@ ############################################################################ +############################################################################ # arch/arm/sama5/Make.defs # # Copyright (C) 2013-2014 Gregory Nutt. All rights reserved. @@ -100,6 +101,9 @@ endif ifeq ($(CONFIG_ARCH_KERNEL_STACK),y) CMN_CSRCS += arm_addrenv_kstack.c endif +ifeq ($(CONFIG_MM_SHM),y) +CMN_CSRCS += arm_addrenv_shm.c +endif endif ifeq ($(CONFIG_MM_PGALLOC),y)