summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dynamic-layers/meta-python/recipes-devtools/bcc/bcc/run-ptest23
-rw-r--r--recipes-devtools/castxml/castxml_0.6.11.bb2
-rw-r--r--recipes-devtools/include-what-you-use/include-what-you-use_0.23.bb2
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
20ARCH=$(uname -m)
21
22case "$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 ;;
39esac
40
41export 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
21IFS=$(printf '\n\t') 44IFS=$(printf '\n\t')
22for test_name in $(./cc/test_libbcc_no_libbpf --list-test-names-only); do 45for 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
7SRCREV = "f38c024b395187814f14f77974d8f5240bb2e71f" 7SRCREV = "f38c024b395187814f14f77974d8f5240bb2e71f"
8 8
9S = "${WORKDIR}/git"
10
11DEPENDS = "clang" 9DEPENDS = "clang"
12inherit cmake pkgconfig python3native 10inherit 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
16PV .= "+git" 16PV .= "+git"
17 17
18S = "${WORKDIR}/git"
19
20inherit cmake python3native 18inherit cmake python3native
21 19
22EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu" 20EXTRA_OECMAKE = "-DIWYU_RESOURCE_RELATIVE_TO=iwyu"