boards/sim/rcS: hostfs mount to server if CONFIG_FS_HOSTFS_RPMSG=y

Change-Id: I90758f4e4fcf6ae4f802da80e4b17a287e74c7c0
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
ligd
2021-03-10 23:18:35 +08:00
committed by liguiding1
parent 001f549e2c
commit b8acb6f4c3
+5
View File
@@ -43,8 +43,13 @@ mount -t vfat CONCAT(/dev/ram, CONFIG_NSH_FATDEVNO) CONFIG_NSH_FATMOUNTPT
#ifdef CONFIG_FS_HOSTFS
#ifdef CONFIG_FS_HOSTFS_RPMSG
mount -t hostfs -o fs=/system /system
mount -t hostfs -o fs=/data /data
#else
mount -t hostfs -o fs=../apps /system
mount -t hostfs -o fs=. /data
#endif
#ifdef CONFIG_TESTING_TESTRUNNER