boards/qemu-rv: Correct tmpfs mount path to use CONFIG_LIBC_TMPDIR
Follow other boards, use CONFIG_LIBC_TMPDIR from Kconfig instead of hardcode it here. Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
This commit is contained in:
parent
19230e3a2b
commit
2cf92a75d3
|
@ -129,7 +129,7 @@ int board_app_initialize(uintptr_t arg)
|
|||
#endif
|
||||
|
||||
#ifdef CONFIG_FS_TMPFS
|
||||
mount(NULL, "/tmp", "tmpfs", 0, NULL);
|
||||
mount(NULL, CONFIG_LIBC_TMPDIR, "tmpfs", 0, NULL);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue