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/04/18 11:32:17 UTC

[incubator-nuttx] 01/02: sim: Fix config check for romfs image generation

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 15d328c3abf13a29a478103f7f72f4e4dae25eaa
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Apr 17 15:19:44 2020 +0900

    sim: Fix config check for romfs image generation
---
 boards/sim/sim/sim/src/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/boards/sim/sim/sim/src/Makefile b/boards/sim/sim/sim/src/Makefile
index 4d2ca01..c70af73 100644
--- a/boards/sim/sim/sim/src/Makefile
+++ b/boards/sim/sim/sim/src/Makefile
@@ -74,9 +74,9 @@ else
 endif
 endif
 
-#ifdef CONFIG_NSH_ROMFSETC
+ifeq ($(CONFIG_NSH_ROMFSETC),y)
   RCSRCS = etc/init.d/rcS
   RCRAWS = etc/group etc/passwd
-#endif
+endif
 
 include $(TOPDIR)/boards/Board.mk