summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2021-06-17 14:22:25 +0900
committerYoungjae Cho <y0.cho@samsung.com>2021-06-17 15:08:27 +0900
commite5555f018a4cfac3c09b851432883b20c1656479 (patch)
tree16ad0faf4e9163f9b51880f321f12115a60a6e6b
parente1b43a1e9fce04267eebae1573790e9a6495ba00 (diff)
downloaddevice-tw3-e5555f018a4cfac3c09b851432883b20c1656479.tar.gz
device-tw3-e5555f018a4cfac3c09b851432883b20c1656479.tar.bz2
device-tw3-e5555f018a4cfac3c09b851432883b20c1656479.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/battery/CMakeLists.txt2
-rw-r--r--hw/bezel/CMakeLists.txt2
-rw-r--r--hw/display/CMakeLists.txt2
-rw-r--r--hw/touchscreen/CMakeLists.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/hw/battery/CMakeLists.txt b/hw/battery/CMakeLists.txt
index 851b35f..b63d861 100644
--- a/hw/battery/CMakeLists.txt
+++ b/hw/battery/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT(hal-backend-device-battery C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
INCLUDE(FindPkgConfig)
-pkg_check_modules(hal-backend-device-battery_pkgs REQUIRED glib-2.0 hal-backend-device-common)
+pkg_check_modules(hal-backend-device-battery_pkgs REQUIRED glib-2.0 hal-backend-device-common libsyscommon)
FOREACH(flag ${hal-backend-device-battery_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
diff --git a/hw/bezel/CMakeLists.txt b/hw/bezel/CMakeLists.txt
index d09ef4c..57a26ff 100644
--- a/hw/bezel/CMakeLists.txt
+++ b/hw/bezel/CMakeLists.txt
@@ -4,7 +4,7 @@ PROJECT(hal-backend-device-bezel C)
SET(PREFIX ${CMAKE_INSTALL_PREFIX})
INCLUDE(FindPkgConfig)
-pkg_check_modules(hal-backend-device-bezel_pkgs REQUIRED hal-backend-device-common)
+pkg_check_modules(hal-backend-device-bezel_pkgs REQUIRED hal-backend-device-common libsyscommon)
FOREACH(flag ${hal-backend-device-bezel_pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
diff --git a/hw/display/CMakeLists.txt b/hw/display/CMakeLists.txt
index c10dfdd..0b28a4c 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 capi-system-info hal-backend-device-common)
+pkg_check_modules(hal-backend-device-display_pkgs REQUIRED capi-system-info 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}")