summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/kernel-build.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
index 963e020b3746..2123f165846a 100644
--- a/eclass/kernel-build.eclass
+++ b/eclass/kernel-build.eclass
@@ -188,7 +188,7 @@ kernel-build_src_test() {
debug-print-function ${FUNCNAME} "${@}"
local targets=( modules_install )
# on arm or arm64 you also need dtb
- if use arm || use arm64; then
+ if use arm || use arm64 || use riscv; then
targets+=( dtbs_install )
fi
@@ -216,7 +216,7 @@ kernel-build_src_install() {
# on what kind of installkernel is installed
local targets=( modules_install )
# on arm or arm64 you also need dtb
- if use arm || use arm64; then
+ if use arm || use arm64 || use riscv; then
targets+=( dtbs_install )
fi