-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathcommonutilities_git.bb
More file actions
32 lines (23 loc) · 1.23 KB
/
commonutilities_git.bb
File metadata and controls
32 lines (23 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "RDK commonutilities"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=24691c8ce48996ecd1102d29eab1216e"
# To have a possibility to override SRC_URI later, we are introducing the following workaround:
SRCREV = "aea4d385f7358ea3d6d5952a985577101db52ddc"
SRC_URI = "${CMF_GITHUB_ROOT}/common_utilities;module=.;${CMF_GITHUB_SRC_URI_SUFFIX}"
PACKAGE_ARCH = "${MIDDLEWARE_ARCH}"
DEPENDS +=" cjson curl rdk-logger rdkcertconfig"
#RDEPENDS:{PN} += " rfc"
#uncomment the following line to turn on debugging
#CFLAGS:append = " -DCURL_DEBUG"
# or enable this distro feature
CFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'debug_curl_cdl', ' -DCURL_DEBUG', '', d)}"
DEPENDS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'safec', ' safec', " ", d)}"
CFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'safec', ' `pkg-config --cflags libsafec`', '-fPIC', d)}"
CFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'safec', '', ' -DSAFEC_DUMMY_API', d)}"
LDFLAGS:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'safec', ' `pkg-config --libs libsafec`', '', d)}"
LDFLAGS:append = " -lsafec -lsecure_wrapper"
CFLAGS:append = " -DRDK_LOGGER"
PV = "1.5.1"
PR = "r1"
S = "${WORKDIR}/git"
inherit autotools pkgconfig coverity