Skip to content

Commit

Permalink
plugins: add riscv into kernel plugin for build dtbs
Browse files Browse the repository at this point in the history
Signed-off-by: Aristo Chen <aristo.chen@canonical.com>
  • Loading branch information
AristoChen committed Jul 1, 2023
1 parent ab2c135 commit 696f365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapcraft/parts/plugins/kernel_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ def _set_kernel_targets(self) -> None:
self.dtbs = [f"{i}.dtb" for i in self.options.kernel_device_trees]
if self.dtbs:
self._make_targets.extend(self.dtbs)
elif self._kernel_arch in ("arm", "arm64", "riscv64"):
elif self._kernel_arch in ("arm", "arm64", "riscv", "riscv64"):
self._make_targets.append("dtbs")
self._make_install_targets.extend(
["dtbs_install", "INSTALL_DTBS_PATH=${CRAFT_PART_INSTALL}/dtbs"]
Expand Down

0 comments on commit 696f365

Please sign in to comment.