[RISC-V Linux] Arch Linux 更新 nuclei-gcc nuclei-openocd 支持 embedded-studio-risc-v
本帖最后由 魏定国 于 2022-11-6 10:24 编辑AUR nuclei-gcc
更新 PKGBUILD 支持 embedded-studio-risc-v
# Maintainer: taotieren
pkgname=nuclei-gcc
pkgver=2022.01
pkgrel=2
pkgdesc="nuclei-gcc 是 Nuclei Studio IDE 的编译工具。"
arch=("x86_64")
makedepends=()
depends=()
optdepends=('nucleistudioide: Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。'
'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
'embedded-studio-risc-v: Segger Embedded Studio for RISC-V')
conflicts=()
url="https://www.nucleisys.com/download.php"
license=('unknow')
options=(!strip)
source=("https://www.nucleisys.com/upload/files/toochain/gcc/nuclei_riscv_newlibc_prebuilt_linux64_${pkgver}.tar.bz2")
sha256sums=('accc54cffd55bfd6e6da61dba3b37f4610913fccda19d7b24238c82d3fe0a98f')
package() {
msg2 'Installing Nuclei GCC'
install -dm755 "${pkgdir}/opt/nuclei/NucleiStudio/toolchain/" \
"${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/"
mv "${srcdir}/gcc" "${pkgdir}/opt/nuclei"
ln -sf "/opt/nuclei/gcc" "${pkgdir}/opt/nuclei/NucleiStudio/toolchain/gcc"
ln -sf "/opt/nuclei/gcc" "${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/gcc"
}
#
# makepkg --printsrcinfo > .SRCINFO
#
# vim: set ts=8 sw=8 tw=0 noet:
AUR nuclei-openocd
更新 PKGBUILD 支持 embedded-studio-risc-v
# Maintainer: taotieren
pkgname=nuclei-openocd
pkgver=2022.01
pkgrel=2
pkgdesc="nuclei-openocd 是 Nuclei Studio IDE 的调试工具。"
arch=("x86_64")
makedepends=()
depends=()
optdepends=('nucleistudioide: Nuclei Studio IDE 是基于 MCU Eclipse IDE 开发的一款针对芯来公司处理器核产品的集成开发环境工具,用于 RISC-V 开发继承了 Eclipse IDE 平台的各种优势。'
'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
'embedded-studio-risc-v: Segger Embedded Studio for RISC-V')
conflicts=()
url="https://www.nucleisys.com/download.php"
license=('unknow')
options=(!strip)
source=("https://www.nucleisys.com/upload/files/toochain/openocd/nuclei-openocd-${pkgver}-linux-x64.tgz")
sha256sums=('0c55a43a09bf6f75959fab44fcec6f785ed9c1a40f62d746089c654ea3409074')
package() {
cd "$srcdir"
msg2 'Installing Nuclei OpenOCD'
install -dm755 "${pkgdir}/opt/nuclei/NucleiStudio/toolchain" \
"${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/"
tar zxf "nuclei-openocd-${pkgver}-linux-x64.tgz"
mv "Nuclei/openocd" "${pkgdir}/opt/nuclei"
ln -sf "/opt/nuclei/openocd/${pkgver}" "${pkgdir}/opt/nuclei/NucleiStudio/toolchain/openocd"
ln -sf "/opt/nuclei/openocd/${pkgver}" "${pkgdir}/opt/SEGGER/Embedded-Studio-RISC-V/Nuclei_Toolchain/openocd"
}
#
# makepkg --printsrcinfo > .SRCINFO
#
# vim: set ts=8 sw=8 tw=0 noet:
增加 Jlink 可选依赖
https://www.risc-v1.com/data/attachment/forum/202211/06/101535ck00c699uu9xbgu0.jpg完
页:
[1]