mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-22 00:29:56 +08:00
[hal_common]: Enable hal common module
Change-Id: I2110295a7a3c947e987706bda1402b695924a96a Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
# vim: syntax=cmake
|
||||
include_directories(.)
|
||||
|
||||
# ----------------------------------------------------------------------------
|
||||
# add hal common file
|
||||
# ----------------------------------------------------------------------------
|
||||
add_library(hal_common STATIC
|
||||
hal_bufs.c
|
||||
)
|
||||
|
||||
target_link_libraries(hal_common mpp_base)
|
||||
set_target_properties(hal_common PROPERTIES FOLDER "mpp/hal/common")
|
||||
|
||||
add_subdirectory(h264)
|
||||
add_subdirectory(h265)
|
||||
|
@@ -26,5 +26,5 @@ add_library(hal_h264e_rkv STATIC
|
||||
${HAL_H264E_SRC}
|
||||
)
|
||||
|
||||
target_link_libraries(hal_h264e_rkv hal_h264e)
|
||||
target_link_libraries(hal_h264e_rkv hal_h264e hal_common)
|
||||
set_target_properties(hal_h264e_rkv PROPERTIES FOLDER "mpp/hal")
|
||||
|
@@ -18,5 +18,5 @@ add_library(hal_h265e_rkv STATIC
|
||||
${HAL_H265E_SRC}
|
||||
)
|
||||
|
||||
target_link_libraries(hal_h265e_rkv hal_h265e)
|
||||
target_link_libraries(hal_h265e_rkv hal_h265e hal_common)
|
||||
set_target_properties(hal_h265e_rkv PROPERTIES FOLDER "mpp/hal")
|
||||
|
Reference in New Issue
Block a user