diff --git a/COPYING b/COPYING index 4cf66a5965d..b3655265d6d 100644 --- a/COPYING +++ b/COPYING @@ -163,8 +163,8 @@ dtoa(): "This product includes software developed by the University of California, Berkeley and its contributors." -lib/string/lib_vikmemcpy.c -^^^^^^^^^^^^^^^^^^^^^^^^^^ +libc/string/lib_vikmemcpy.c +^^^^^^^^^^^^^^^^^^^^^^^^^^^ If you enable CONFIG_MEMCPY_VIK, then you will build with the optimized version of memcpy from Daniel Vik. Licensing information for that version @@ -192,10 +192,10 @@ lib/string/lib_vikmemcpy.c 3. This notice may not be removed or altered from any source distribution. -lib/math -^^^^^^^^ +libc/math +^^^^^^^^^ - If you enable CONFIG_LIB, you will build the math library at lib/math. + If you enable CONFIG_LIB, you will build the math library at libc/math. This library was taken from the math library developed for the Rhombus OS by Nick Johnson (https://github.com/nickbjohnson4224/rhombus). This port was contributed by Darcy Gong. The Rhombus math library has this diff --git a/ChangeLog b/ChangeLog index 247704b7a08..c63dbe62b2e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3591,3 +3591,7 @@ are also more subject to the "fat, flat line bug" that I need to fix someday. See http://www.nuttx.org/doku.php?id=wiki:graphics:nxgraphics for a description of the fat, flat line bug. + * libc: Renamed nuttx/lib to nuttx/libc to make space for a true lib/ + directory that will be forthcoming. Also rename libraries: liblib.a -> libc.a, + libulib.a -> libuc.a, libklib.a -> libkc.a, liblibxx.a ->libcxx.a. + (I will probably, eventually rename libxx to libcxx for consistency) diff --git a/Documentation/NuttXNxFlat.html b/Documentation/NuttXNxFlat.html index 2e6d2f59a86..3a2ed804607 100644 --- a/Documentation/NuttXNxFlat.html +++ b/Documentation/NuttXNxFlat.html @@ -407,7 +407,7 @@ any following arguments. nuttx/syscall/syscall.csv that describes the NuttX RTOS interface, and
  • - nuttx/lib/lib/csv that describes the NuttX C library interface. + nuttx/libc/lib.csv that describes the NuttX C library interface.
  • -

    2.9 nuttx/lib

    +

    2.9 nuttx/libc

    This directory holds a collection of standard libc-like functions with custom interfaces into NuttX.

    - Normally the logic in this file builds to a single library (liblib.a). + Normally the logic in this file builds to a single library (libc.a). However, if NuttX is built as a separately compiled kernel (with CONFIG_NUTTX_KERNEL=y), then the contents of this directory are built as two libraries: - One for use by user programs (libulib.a) and one for use only within the <kernel> space (libklib.a). + One for use by user programs (libuc.a) and one for use only within the <kernel> space (libkc.a).

    These user/kernel space libraries (along with the sycalls of nuttx/syscall) are needed to support the two differing protection domains. @@ -1177,7 +1177,7 @@ include/ Directory structure: