summaryrefslogtreecommitdiffstats
path: root/recipes-extended/odp/odp_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/odp/odp_git.bb')
-rw-r--r--recipes-extended/odp/odp_git.bb17
1 files changed, 10 insertions, 7 deletions
diff --git a/recipes-extended/odp/odp_git.bb b/recipes-extended/odp/odp_git.bb
index 7d6600d00..dc19a82ab 100644
--- a/recipes-extended/odp/odp_git.bb
+++ b/recipes-extended/odp/odp_git.bb
@@ -2,11 +2,10 @@ require odp.inc
2 2
3inherit autotools-brokensep 3inherit autotools-brokensep
4 4
5PACKAGE_ARCH = "${MACHINE_ARCH}" 5# odp.inc does not set DEPENDS, so this is the canonical definition rather than
6 6# an override after the require.
7DEPENDS = "openssl cunit libxml2" 7# nooelint: oelint.vars.dependsappend
8 8DEPENDS = "cunit libxml2 openssl"
9RDEPENDS:${PN} = "bash libcrypto libssl odp-module odp-counters"
10 9
11ODP_SOC ?= "" 10ODP_SOC ?= ""
12ODP_SOC:ls1043ardb = "LS1043" 11ODP_SOC:ls1043ardb = "LS1043"
@@ -17,6 +16,8 @@ ODP_BUILD_TYPE:ls1043ardb = "ls1043"
17ODP_BUILD_TYPE:ls1046ardb = "ls1046" 16ODP_BUILD_TYPE:ls1046ardb = "ls1046"
18ODP_BUILD_TYPE:ls1088ardb = "ls1088" 17ODP_BUILD_TYPE:ls1088ardb = "ls1088"
19 18
19PACKAGECONFIG[perf] = "--enable-test-perf,,,"
20
20EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ 21EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \
21 --enable-test-vald \ 22 --enable-test-vald \
22 --enable-test-perf \ 23 --enable-test-perf \
@@ -28,10 +29,10 @@ EXTRA_OEMAKE = "CROSS_COMPILE="${TARGET_PREFIX}" \
28" 29"
29 30
30CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \ 31CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \
31 -Wno-stringop-truncation \ 32 -Wno-stringop-truncation \
32" 33"
33 34
34PACKAGECONFIG[perf] = "--enable-test-perf,,," 35PACKAGE_ARCH = "${MACHINE_ARCH}"
35 36
36do_configure:prepend () { 37do_configure:prepend () {
37 export SOC=${ODP_SOC} 38 export SOC=${ODP_SOC}
@@ -60,3 +61,5 @@ do_install:append () {
60FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" 61FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la"
61FILES:${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test" 62FILES:${PN} += "/usr/odp/bin /usr/odp/scripts /usr/odp/debug /usr/odp/test/validation /usr/odp/test/performance /usr/odp/test/miscellaneous /usr/odp/test/api_test"
62FILES:${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug" 63FILES:${PN}-dbg += "/usr/odp/bin/.debug /usr/odp/debug/.debug /usr/odp/test/validation/.debug /usr/odp/test/performance/.debug /usr/odp/test/miscellaneous/.debug /usr/odp/test/api_test/.debug"
64
65RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module"