diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2021-06-17 14:46:55 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2021-06-17 14:46:55 +0900 |
commit | b4e3d339950474c4f884cf4905b61b4b220ad835 (patch) | |
tree | 1f10efc5ca463328d8dc4c45da11637089d03cae | |
parent | 47aea867eefca78feb1e7f7e1184ee5d24417ae8 (diff) | |
download | device-vim3-b4e3d339950474c4f884cf4905b61b4b220ad835.tar.gz device-vim3-b4e3d339950474c4f884cf4905b61b4b220ad835.tar.bz2 device-vim3-b4e3d339950474c4f884cf4905b61b4b220ad835.zip |
Add libsyscommon to required package to provide linker flag
For haltest, it cannot run by itself because it is not able to resolve
sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to
locate libsyscommon.so
Change-Id: Idc7c9af42aee50dcdba3bf2c8731db81e1c4dbc8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
-rw-r--r-- | hw/display/CMakeLists.txt | 2 | ||||
-rw-r--r-- | hw/touchscreen/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/display/CMakeLists.txt b/hw/display/CMakeLists.txt index 116adfa..8d73dd5 100644 --- a/hw/display/CMakeLists.txt +++ b/hw/display/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(hal-backend-device-display C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) INCLUDE(FindPkgConfig) -pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common) +pkg_check_modules(hal-backend-device-display_pkgs REQUIRED hal-backend-device-common libsyscommon) FOREACH(flag ${hal-backend-device-display_pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") diff --git a/hw/touchscreen/CMakeLists.txt b/hw/touchscreen/CMakeLists.txt index e18741e..207d23f 100644 --- a/hw/touchscreen/CMakeLists.txt +++ b/hw/touchscreen/CMakeLists.txt @@ -4,7 +4,7 @@ PROJECT(hal-backend-device-touchscreen C) SET(PREFIX ${CMAKE_INSTALL_PREFIX}) INCLUDE(FindPkgConfig) -pkg_check_modules(hal-backend-device-touchscreen_pkgs REQUIRED hal-backend-device-common) +pkg_check_modules(hal-backend-device-touchscreen_pkgs REQUIRED hal-backend-device-common libsyscommon) FOREACH(flag ${hal-backend-device-touchscreen_pkgs_CFLAGS}) SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}") |