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:05:55 +0900 |
commit | 0e51c20c491e3be5148a5fb3a81fd9c0aa6b9226 (patch) | |
tree | a1fe12ff4f01f800467bfc3384a3c3ec837f8b77 | |
parent | 40a557e7adfebc1182e0ab2db681765bab87a3b7 (diff) | |
download | device-rpi-0e51c20c491e3be5148a5fb3a81fd9c0aa6b9226.tar.gz device-rpi-0e51c20c491e3be5148a5fb3a81fd9c0aa6b9226.tar.bz2 device-rpi-0e51c20c491e3be5148a5fb3a81fd9c0aa6b9226.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}") |