diff options
Diffstat (limited to 'recipes-extended/odp/odp_git.bb')
| -rw-r--r-- | recipes-extended/odp/odp_git.bb | 17 |
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 | ||
| 3 | inherit autotools-brokensep | 3 | inherit autotools-brokensep |
| 4 | 4 | ||
| 5 | PACKAGE_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. | |
| 7 | DEPENDS = "openssl cunit libxml2" | 7 | # nooelint: oelint.vars.dependsappend |
| 8 | 8 | DEPENDS = "cunit libxml2 openssl" | |
| 9 | RDEPENDS:${PN} = "bash libcrypto libssl odp-module odp-counters" | ||
| 10 | 9 | ||
| 11 | ODP_SOC ?= "" | 10 | ODP_SOC ?= "" |
| 12 | ODP_SOC:ls1043ardb = "LS1043" | 11 | ODP_SOC:ls1043ardb = "LS1043" |
| @@ -17,6 +16,8 @@ ODP_BUILD_TYPE:ls1043ardb = "ls1043" | |||
| 17 | ODP_BUILD_TYPE:ls1046ardb = "ls1046" | 16 | ODP_BUILD_TYPE:ls1046ardb = "ls1046" |
| 18 | ODP_BUILD_TYPE:ls1088ardb = "ls1088" | 17 | ODP_BUILD_TYPE:ls1088ardb = "ls1088" |
| 19 | 18 | ||
| 19 | PACKAGECONFIG[perf] = "--enable-test-perf,,," | ||
| 20 | |||
| 20 | EXTRA_OECONF = "--with-platform=${ODP_PLATFORM} \ | 21 | EXTRA_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 | ||
| 30 | CFLAGS += "-Wno-format-truncation -Wno-maybe-uninitialized -Wno-implicit-fallthrough -Wno-cpp -Wno-cast-function-type \ | 31 | CFLAGS += "-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 | ||
| 34 | PACKAGECONFIG[perf] = "--enable-test-perf,,," | 35 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 35 | 36 | ||
| 36 | do_configure:prepend () { | 37 | do_configure:prepend () { |
| 37 | export SOC=${ODP_SOC} | 38 | export SOC=${ODP_SOC} |
| @@ -60,3 +61,5 @@ do_install:append () { | |||
| 60 | FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" | 61 | FILES:${PN}-staticdev += "${datadir}/opendataplane/*.la" |
| 61 | FILES:${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" | 62 | FILES:${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" |
| 62 | FILES:${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" | 63 | FILES:${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 | |||
| 65 | RDEPENDS:${PN} = "bash libcrypto libssl odp-counters odp-module" | ||
