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 2022/05/02 08:13:21 UTC

[incubator-nuttx] 01/06: MPFS: Add sources for CONFIG_ARCH_ADDRENV

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 cccfe31d0c2c551183dd5b7507503a2a8f4a43dc
Author: Ville Juven <vi...@unikie.com>
AuthorDate: Wed Apr 13 12:20:24 2022 +0300

    MPFS: Add sources for CONFIG_ARCH_ADDRENV
---
 arch/risc-v/src/mpfs/Make.defs | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/risc-v/src/mpfs/Make.defs b/arch/risc-v/src/mpfs/Make.defs
index 2d3eb49ab8..a669aafe1f 100755
--- a/arch/risc-v/src/mpfs/Make.defs
+++ b/arch/risc-v/src/mpfs/Make.defs
@@ -95,6 +95,10 @@ ifeq ($(CONFIG_ARCH_KERNEL_STACK),y)
 CMN_CSRCS += riscv_addrenv_kstack.c
 endif
 
+ifeq ($(CONFIG_ARCH_ADDRENV),y)
+CMN_CSRCS += riscv_addrenv.c riscv_pgalloc.c
+endif
+
 ifeq ($(CONFIG_SPI),y)
 CHIP_CSRCS += mpfs_spi.c
 endif