can add user extend filesystem in confdefs.h?

Joel Sherrill joel at rtems.org
Tue Jul 5 02:19:59 UTC 2016


On Jul 4, 2016 9:10 PM, "yao0718" <29171383 at qq.com> wrote:
>
> can add user extend filesystem macro in confdefs.h?
>
> --- ./rtems/cpukit/sapi/include/confdefs.h 2016-07-03 03:25:07.227917300
+0800
> +++ ./am335x_rtems/cpukit/sapi/include/confdefs.h 2016-07-02
23:10:46.522619200 +0800
> @@ -575,6 +575,10 @@
>            defined(CONFIGURE_FILESYSTEM_ENTRY_JFFS2)
>          CONFIGURE_FILESYSTEM_ENTRY_JFFS2,
>        #endif
> +  #if defined(CONFIGURE_FILESYSTEM_USER) && \
> +          defined(CONFIGURE_FILESYSTEM_ENTRY_USER)
> + CONFIGURE_FILESYSTEM_ENTRY_USER,
> +      #endif
>        CONFIGURE_FILESYSTEM_NULL
>      };
>    #endif
>
>
> now I can add yaffs2 in application define
> #define CONFIGURE_FILESYSTEM_USER
> #define CONFIGURE_FILESYSTEM_ENTRY_USER {"yaffs2",yaffs_initialize}
>
> and  can add more user define filesystem in application without change
confdefs.h
>

That seems reasonable if documented.

I am open to adding YAFFS and a user filesystem entry also. Happy to hear
from others though since YAFFS is dual licensed and can lead to user
license impacts.

>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160704/7beafd10/attachment-0002.html>


More information about the devel mailing list