module: make this repo a zephyr module

Create module file to be used with west.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-04-18 23:34:03 -04:00
parent f363945c75
commit 6f2798ba1f
2 changed files with 5 additions and 0 deletions

View File

@ -4,9 +4,11 @@
# SPDX-License-Identifier: Apache-2.0
#
if(CONFIG_LIBMETAL)
set(WITH_ZEPHYR 1)
set(WITH_ZEPHYR_LIB 1)
set(WITH_DOC OFF CACHE BOOL "" FORCE)
set(WITH_DEFAULT_LOGGER OFF CACHE BOOL "" FORCE)
add_subdirectory(${CONFIG_LIBMETAL_SRC_PATH} libmetal)
endif()

3
zephyr/module.yml Normal file
View File

@ -0,0 +1,3 @@
build:
kconfig: Kconfig
cmake: .