boards/sim/sim/sim/src/etc/init.d/rcS: Make it conditional with FS_FAT
ifdef out the guts of the script because it doesn't make sense without FAT enabled.
This commit is contained in:
parent
9ee04b5c53
commit
d5a1c8cae8
1 changed files with 2 additions and 0 deletions
|
@ -24,6 +24,7 @@
|
|||
#define CONCAT(x, y) CONCAT_(x, y)
|
||||
|
||||
#ifdef CONFIG_NSH_ROMFSETC
|
||||
#ifdef CONFIG_FS_FAT
|
||||
|
||||
/* Create a RAMDISK and mount it at /tmp */
|
||||
|
||||
|
@ -31,4 +32,5 @@ mkrd -m CONFIG_NSH_FATDEVNO -s CONFIG_NSH_FATSECTSIZE CONFIG_NSH_FATNSECTORS
|
|||
mkfatfs CONCAT(/dev/ram, CONFIG_NSH_FATDEVNO)
|
||||
mount -t vfat CONCAT(/dev/ram, CONFIG_NSH_FATDEVNO) CONFIG_NSH_FATMOUNTPT
|
||||
|
||||
#endif /* CONFIG_FS_FAT */
|
||||
#endif /* CONFIG_NSH_ROMFSETC */
|
||||
|
|
Loading…
Reference in a new issue