[BSP] use RT_USING_LIBC instead of RT_USING_NEWLIB

This commit is contained in:
Bernard Xiong 2014-10-29 13:32:36 +00:00
parent 802c768475
commit 692e597847
4 changed files with 6 additions and 19 deletions

View File

@ -64,7 +64,7 @@
/* SECTION: the runtime libc library */ /* SECTION: the runtime libc library */
/* the runtime libc library */ /* the runtime libc library */
#define RT_USING_NEWLIB #define RT_USING_LIBC
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
/* Using Module System */ /* Using Module System */

View File

@ -87,8 +87,8 @@
// </section> // </section>
// <section name="LIBC" description="C Runtime library setting" default="always" > // <section name="LIBC" description="C Runtime library setting" default="always" >
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" /> // <bool name="RT_USING_LIBC" description="Using C library" default="true" />
#define RT_USING_NEWLIB #define RT_USING_LIBC
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" /> // <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
// </section> // </section>

View File

@ -87,20 +87,7 @@
#define FINSH_USING_DESCRIPTION #define FINSH_USING_DESCRIPTION
/* SECTION: libc management */ /* SECTION: libc management */
#ifdef __CC_ARM #define RT_USING_LIBC
/* #define RT_USING_MINILIBC */
/* #define RT_USING_NEWLIB */
#endif
#ifdef __ICCARM__
/* #define RT_USING_MINILIBC */
/* #define RT_USING_NEWLIB */
#endif
#ifdef __GNUC__
/* #define RT_USING_MINILIBC */
#define RT_USING_NEWLIB
#endif
/* SECTION: device filesystem */ /* SECTION: device filesystem */
/* #define RT_USING_DFS */ /* #define RT_USING_DFS */

View File

@ -103,8 +103,8 @@
// </section> // </section>
// <section name="LIBC" description="C Runtime library setting" default="always" > // <section name="LIBC" description="C Runtime library setting" default="always" >
// <bool name="RT_USING_NEWLIB" description="Using newlib library, only available under GNU GCC" default="true" /> // <bool name="RT_USING_LIBC" description="Using C library" default="true" />
#define RT_USING_NEWLIB #define RT_USING_LIBC
// <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" /> // <bool name="RT_USING_PTHREADS" description="Using POSIX threads library" default="true" />
#define RT_USING_PTHREADS #define RT_USING_PTHREADS
// </section> // </section>