ext: hal: open-amp: Allow for open-amp source to be external
Introduce a Kconfig option (CONFIG_OPENAMP_SRC_PATH) that allows us to point to an external copy of open-amp. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
e91b580208
commit
9a89f39b49
@ -10,4 +10,4 @@ set(WITH_LIBMETAL_FIND OFF CACHE BOOL "" FORCE)
|
||||
set(LIBMETAL_INCLUDE_DIR ${ZEPHYR_BINARY_DIR}/ext/hal/libmetal/lib/include)
|
||||
set(LIBMETAL_LIB ${ZEPHYR_BINARY_DIR}/ext/hal/libmetal/lib)
|
||||
|
||||
add_subdirectory(open-amp)
|
||||
add_subdirectory(${CONFIG_OPENAMP_SRC_PATH} open-amp)
|
||||
|
||||
@ -11,3 +11,10 @@ config OPENAMP
|
||||
default n
|
||||
help
|
||||
This option enables the OpenAMP IPC library
|
||||
|
||||
config OPENAMP_SRC_PATH
|
||||
string
|
||||
prompt "OpenAMP library source path"
|
||||
default "open-amp"
|
||||
help
|
||||
This option specifies the path to the source for the open-amp library
|
||||
|
||||
Loading…
Reference in New Issue
Block a user