summaryrefslogtreecommitdiff
path: root/apps/nshlib/nsh_romfsetc.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/nshlib/nsh_romfsetc.c')
-rw-r--r--apps/nshlib/nsh_romfsetc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/nshlib/nsh_romfsetc.c b/apps/nshlib/nsh_romfsetc.c
index 6f538b4c5..eba60af92 100644
--- a/apps/nshlib/nsh_romfsetc.c
+++ b/apps/nshlib/nsh_romfsetc.c
@@ -55,7 +55,9 @@
#ifdef CONFIG_NSH_ARCHROMFS
# include <arch/board/nsh_romfsimg.h>
-#else
+#elif defined(CONFIG_NSH_CUSTOMROMFS)
+# include CONFIG_NSH_CUSTOMROMFS_HEADER
+#else /* if defined(CONFIG_NSH_DEFAULTROMFS) */
# include "nsh_romfsimg.h"
#endif