modify contents of libraries's README
authorsunghan <sh924.chang@samsung.com>
Wed, 12 Apr 2017 06:28:41 +0000 (15:28 +0900)
committersunghan <sh924.chang@samsung.com>
Wed, 12 Apr 2017 06:28:41 +0000 (15:28 +0900)
modify legacy explanations and add a method to add external libraries

build/output/libraries/README.txt

index f742b9a..705b983 100644 (file)
@@ -1,6 +1,26 @@
-lib/ README File
-================
+build/output/libraries/ README File
+===================================
 
-This directory is reserved for libraries generated during the NuttX build process
+This directory is reserved for libraries generated during the TinyAra build process
 
+How to add external libraries
+=============================
 
+If you want to add pre-built libraries into TinyAra binary,
+please refer belows.
+
+1. place your libraries at build/output/libraries folder
+2. modify mk files to add them to binary
+
+  < Files >
+   FlatLibs.mk for flat build
+   ProtectedLibs.mk for protected build
+   KernelLibs.mk for kernel build
+
+  < Contents to modify >
+   TINYARALIBS += $(LIBRARIES_DIR)$(DELIM)<File name of Library>$(LIBEXT)
+   or
+   USERLIBS += $(LIBRARIES_DIR)$(DELIM)<File name of Library>$(LIBEXT)
+   You should replace <File name of Library> to yours.
+
+3. build the TinyAra