sim: hostfs: Stop assuming CONFIG_NAME_MAX=32
This commit is contained in:
parent
f89ccf873e
commit
27aa16111c
|
@ -190,6 +190,7 @@ endif
|
|||
ifeq ($(CONFIG_FS_HOSTFS),y)
|
||||
ifneq ($(CONFIG_FS_HOSTFS_RPMSG),y)
|
||||
HOSTSRCS += up_hostfs.c
|
||||
HOSTCFLAGS += -DCONFIG_NAME_MAX=$(CONFIG_NAME_MAX)
|
||||
|
||||
up_hostfs.c: hostfs.h
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
|
||||
/* Should match definition in include/limits.h */
|
||||
|
||||
#define NUTTX_NAME_MAX 32
|
||||
#define NUTTX_NAME_MAX CONFIG_NAME_MAX
|
||||
|
||||
#endif /* __SIM__ */
|
||||
|
||||
|
|
Loading…
Reference in New Issue