nshlib: remove NSH_HAVE_WRITABLE_MOUNTPOINT to enable mkrd again
This commit is contained in:
parent
aa717d59fd
commit
06c7f06b1d
@ -323,11 +323,9 @@ static const struct cmdmap_s g_cmdmap[] =
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#ifdef NSH_HAVE_WRITABLE_MOUNTPOINT
|
||||
# ifndef CONFIG_NSH_DISABLE_MKRD
|
||||
#ifndef CONFIG_NSH_DISABLE_MKRD
|
||||
{ "mkrd", cmd_mkrd, 2, 6,
|
||||
"[-m <minor>] [-s <sector-size>] <nsectors>" },
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#if !defined(CONFIG_DISABLE_MOUNTPOINT) && defined(CONFIG_FS_SMARTFS) && \
|
||||
|
@ -1360,7 +1360,6 @@ int cmd_mkfifo(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
* Name: cmd_mkrd
|
||||
****************************************************************************/
|
||||
|
||||
#ifdef NSH_HAVE_WRITABLE_MOUNTPOINT
|
||||
#ifndef CONFIG_NSH_DISABLE_MKRD
|
||||
int cmd_mkrd(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
||||
{
|
||||
@ -1458,7 +1457,6 @@ errout_with_fmt:
|
||||
return ERROR;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Name: cmd_mksmartfs
|
||||
|
Loading…
Reference in New Issue
Block a user