diff options
3 files changed, 23 insertions, 4 deletions
diff --git a/dynamic-layers/meta-python/recipes-devtools/bcc/bcc/run-ptest b/dynamic-layers/meta-python/recipes-devtools/bcc/bcc/run-ptest index a27f697..4740ae9 100644 --- a/dynamic-layers/meta-python/recipes-devtools/bcc/bcc/run-ptest +++ b/dynamic-layers/meta-python/recipes-devtools/bcc/bcc/run-ptest | |||
@@ -17,6 +17,29 @@ print_test_result() { | |||
17 | fi | 17 | fi |
18 | } | 18 | } |
19 | 19 | ||
20 | ARCH=$(uname -m) | ||
21 | |||
22 | case "$ARCH" in | ||
23 | x86_64) | ||
24 | KDIR="x86" | ||
25 | ;; | ||
26 | riscv64) | ||
27 | KDIR="riscv" | ||
28 | ;; | ||
29 | aarch64) | ||
30 | KDIR="arm64" | ||
31 | ;; | ||
32 | powerpc64le | ppc64le) | ||
33 | KDIR="powerpc" | ||
34 | ;; | ||
35 | *) | ||
36 | echo "Architecture not present, Add the architecture in run-ptest: $ARCH" | ||
37 | exit 1 | ||
38 | ;; | ||
39 | esac | ||
40 | |||
41 | export BCC_KERNEL_SOURCE="/usr/src/kernel/arch/$KDIR" | ||
42 | |||
20 | # Run CC tests, set IFS as test names have spaces | 43 | # Run CC tests, set IFS as test names have spaces |
21 | IFS=$(printf '\n\t') | 44 | IFS=$(printf '\n\t') |
22 | for test_name in $(./cc/test_libbcc_no_libbpf --list-test-names-only); do | 45 | for test_name in $(./cc/test_libbcc_no_libbpf --list-test-names-only); do |
diff --git a/recipes-devtools/castxml/castxml_0.6.11.bb b/recipes-devtools/castxml/castxml_0.6.11.bb index 7eccc77..69663e0 100644 --- a/recipes-devtools/castxml/castxml_0.6.11.bb +++ b/recipes-devtools/castxml/castxml_0.6.11.bb | |||
@@ -6,8 +6,6 @@ SRC_URI = "git://github.com/CastXML/CastXML;protocol=https;branch=master" | |||
6 | 6 | ||
7 | SRCREV = "f38c024b395187814f14f77974d8f5240bb2e71f" | 7 | SRCREV = "f38c024b395187814f14f77974d8f5240bb2e71f" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | ||
10 | |||
11 | DEPENDS = "clang" | 9 | DEPENDS = "clang" |
12 | inherit cmake pkgconfig python3native | 10 | inherit cmake pkgconfig python3native |
13 | 11 | ||
diff --git a/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb b/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb index 9ba16b6..7c4392f 100644 --- a/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb +++ b/recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb | |||
@@ -15,8 +15,6 @@ SRCREV = "fa1094c0b3848f82244778bc6153cc84f8a890f6" | |||
15 | 15 | ||
16 | PV .= "+git" | 16 | PV .= "+git" |
17 | 17 | ||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit cmake python3native | 18 | inherit cmake python3native |
21 | 19 | ||
22 | EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu" | 20 | EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu" |