Browse Source

machine: Add openocd PREFERRED_VERSION

Added OpenOCD PREFERRED_VERSION for Dubhe and JH8100.

Signed-off-by: Jun Yuan Tan <junyuan.tan@starfivetech.com>
Jun Yuan Tan 6 months ago
parent
commit
9919bdeb76
2 changed files with 4 additions and 0 deletions
  1. 2 0
      conf/machine/starfive-dubhe.conf
  2. 2 0
      conf/machine/starfive-jh8100.conf

+ 2 - 0
conf/machine/starfive-dubhe.conf

@@ -51,6 +51,8 @@ BINUVERSION = "2.39"
 GCCVERSION = "12.2.0"
 QEMUVERSION = "7.2.0"
 PREFERRED_VERSION_opensbi = "1.2"
+PREFERRED_VERSION_openocd = "riscv"
+PREFERRED_VERSION_openocd-native = "riscv"
 #
 ###IMAGE_FSTYPES += "wic.gz wic.bmap ext4 cpio"
 

+ 2 - 0
conf/machine/starfive-jh8100.conf

@@ -28,6 +28,8 @@ GLIBCVERSION = "2.36"
 BINUVERSION = "2.39"
 GCCVERSION = "12.2.0"
 QEMUVERSION = "7.2.0"
+PREFERRED_VERSION_openocd = "riscv"
+PREFERRED_VERSION_openocd-native = "riscv"
 PREFERRED_VERSION_opensbi ?= "1.2"
 PREFERRED_VERSION_xserver-xorg = "1.20.13"
 PREFERRED_VERSION_mbedtls = "3.4.0"