diff options
author | Youngjae Cho <y0.cho@samsung.com> | 2021-06-17 14:22:25 +0900 |
---|---|---|
committer | Youngjae Cho <y0.cho@samsung.com> | 2021-06-17 15:02:12 +0900 |
commit | b27c20df004afc5e1b6dd4af19a981e2469d29f8 (patch) | |
tree | ca0250d1af517a2c37ea9c2712fc87daa7e9e10a | |
parent | 705668d75f32b68e7e8ee553b5ab69551db1d639 (diff) | |
download | device-artik-b27c20df004afc5e1b6dd4af19a981e2469d29f8.tar.gz device-artik-b27c20df004afc5e1b6dd4af19a981e2469d29f8.tar.bz2 device-artik-b27c20df004afc5e1b6dd4af19a981e2469d29f8.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: Ic9b4cedce88c888a9925264cfd22ff3504ee5193
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}") |