You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/03/24 09:54:56 UTC

[incubator-nuttx] 02/03: arm/imx6: compile up_hostfs.c when CONFIG_ARM_SEMIHOSTING_HOSTFS equal true

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

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

commit 660b9699829ecf9092d482a827065cef8d24766b
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Tue Mar 24 10:30:29 2020 +0800

    arm/imx6: compile up_hostfs.c when CONFIG_ARM_SEMIHOSTING_HOSTFS equal true
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.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 ae9e98d..ad28670 100644
--- a/arch/arm/src/imx6/Make.defs
+++ b/arch/arm/src/imx6/Make.defs
@@ -75,6 +75,10 @@ CMN_CSRCS += arm_prefetchabort.c arm_releasepending.c arm_reprioritizertr.c
 CMN_CSRCS += arm_schedulesigaction.c arm_sigdeliver.c arm_syscall.c
 CMN_CSRCS += arm_unblocktask.c arm_undefinedinsn.c
 
+ifeq ($(CONFIG_ARM_SEMIHOSTING_HOSTFS),y)
+CMN_CSRCS += up_hostfs.c
+endif
+
 ifneq ($(CONFIG_ARCH_IDLE_CUSTOM),y)
 CMN_CSRCS += imx_idle.c
 endif