From bfa856e7add1f1d55f7bac7aa143b3cf209054b2 Mon Sep 17 00:00:00 2001 From: sunghan Date: Wed, 12 Apr 2017 15:28:41 +0900 Subject: [PATCH] modify contents of libraries's README modify legacy explanations and add a method to add external libraries --- build/output/libraries/README.txt | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/build/output/libraries/README.txt b/build/output/libraries/README.txt index f742b9a..705b983 100644 --- a/build/output/libraries/README.txt +++ b/build/output/libraries/README.txt @@ -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)$(LIBEXT) + or + USERLIBS += $(LIBRARIES_DIR)$(DELIM)$(LIBEXT) + You should replace to yours. + +3. build the TinyAra -- 2.7.4