lib: flatten all loose components into one lib

lib/ was starting to get messy and inconsitent. Files being either
dumped in the root or in sub-directories without a clear plan.
Move all library components into one single folder and call it 'os'.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-01-19 06:57:38 -05:00
commit db92e5c66e
23 changed files with 54 additions and 39 deletions

17
lib/os/CMakeLists.txt Normal file
View file

@ -0,0 +1,17 @@
zephyr_sources_if_kconfig(base64.c)
zephyr_sources(
crc32_sw.c
crc16_sw.c
crc8_sw.c
crc7_sw.c
fdtable.c
mempool.c
rb.c
thread_entry.c
work_q.c
)
zephyr_sources_ifdef(CONFIG_JSON_LIBRARY json.c)
zephyr_sources_if_kconfig(ring_buffer.c)