Message ID | 20230418191923.1113413-1-geomatsi@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [1/1] package/cmake: add support for riscv architecture | expand |
Sergey, All, On 2023-04-18 22:19 +0300, Sergey Matyukevich spake thusly: > Package binaries can be successfully built for and then executed on > RISC-V platforms including RV32 and RV64 variants. Tested in QEMU. I was wondering why we needed to add something to cmake for riscv support, since we've been building a lot of riscv for quite some while now, so this was a bit confusing... But it turns out that this is just about ctest, the only thing from cmake that we build for the target. I've very slightly tweaked the commit title to reflect that. Applied to master, thanks. Regards, Yann E. MORIN. > Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> > --- > package/cmake/Config.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/cmake/Config.in b/package/cmake/Config.in > index 3c47fdcb49..4ef5612b57 100644 > --- a/package/cmake/Config.in > +++ b/package/cmake/Config.in > @@ -6,7 +6,7 @@ config BR2_PACKAGE_CMAKE_ARCH_SUPPORTS > BR2_mipsel || BR2_mips64el || BR2_powerpc || \ > BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \ > BR2_i386 || BR2_x86_64 || BR2_xtensa || \ > - BR2_s390x > + BR2_s390x || BR2_riscv > > config BR2_PACKAGE_CMAKE > bool > -- > 2.40.0 > > _______________________________________________ > buildroot mailing list > buildroot@buildroot.org > https://lists.buildroot.org/mailman/listinfo/buildroot
>>>>> "Sergey" == Sergey Matyukevich <geomatsi@gmail.com> writes: > Package binaries can be successfully built for and then executed on > RISC-V platforms including RV32 and RV64 variants. Tested in QEMU. > Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> Committed to 2023.02.x, thanks.
diff --git a/package/cmake/Config.in b/package/cmake/Config.in index 3c47fdcb49..4ef5612b57 100644 --- a/package/cmake/Config.in +++ b/package/cmake/Config.in @@ -6,7 +6,7 @@ config BR2_PACKAGE_CMAKE_ARCH_SUPPORTS BR2_mipsel || BR2_mips64el || BR2_powerpc || \ BR2_powerpc64 || BR2_powerpc64le || BR2_sparc || \ BR2_i386 || BR2_x86_64 || BR2_xtensa || \ - BR2_s390x + BR2_s390x || BR2_riscv config BR2_PACKAGE_CMAKE bool
Package binaries can be successfully built for and then executed on RISC-V platforms including RV32 and RV64 variants. Tested in QEMU. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> --- package/cmake/Config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)