diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2022-06-08 11:24:08 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-08 11:24:08 +0200 |
| commit | e29326d8d048b459b58272a0f88a776852dfe519 (patch) | |
| tree | 9be9033233fbed96bb89321d26c3864667230537 | |
| parent | 1057b88ba72c8c0cd241a7f4de3308a91fe321f9 (diff) | |
| parent | b7bf1955b7c0edac6e8575d9e7e47481e30ae8ba (diff) | |
| download | box64-e29326d8d048b459b58272a0f88a776852dfe519.tar.gz box64-e29326d8d048b459b58272a0f88a776852dfe519.zip | |
Merge pull request #321 from archanox/patch-1
Fix typos and arch type string
| -rwxr-xr-x | CMakeLists.txt | 6 | ||||
| -rwxr-xr-x | docs/COMPILE.md | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index f435cdd8..7a844ab6 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,7 @@ option(PHYTIUM "Set to ON if targeting an Phytium (D2000 or FT2000/4) based devi option(SD845 "Set to ON if targeting a Snapragon 845 based device" ${SD845}) option(M1 "Set to ON if targeting a AppleM1 running on Asahi computer" ${M1}) option(LARCH64 "Set to ON if targeting an Loongarch64 based device" ${LARCH64}) -option(RV64 "Set to ON if targeting an RISCV RV64G based device" ${RV64}) +option(RV64 "Set to ON if targeting an RISC-V RV64GC based device" ${RV64}) option(PPC64LE "Set to ON if targeting an PowerPC 64 LE based device" ${PPC64LE}) option(LX2160A "Set to ON if targeting an LX2160A based device" ${LX2160A}) option(USE_CCACHE "Set to ON to use ccache if present in the system" ${USE_CCACHE}) @@ -121,8 +121,8 @@ elseif(LARCH64) set(CMAKE_ASM_FLAGS "-pipe -march=loongarch64") elseif(RV64) add_definitions(-DRV64) - add_definitions(-pipe -march=rv64g) - set(CMAKE_ASM_FLAGS "-pipe -march=rv64g") + add_definitions(-pipe -march=rv64gc) + set(CMAKE_ASM_FLAGS "-pipe -march=rv64gc") elseif(PPC64LE) add_definitions(-DPPC64LE) elseif(LX2160A) diff --git a/docs/COMPILE.md b/docs/COMPILE.md index a7edddc1..d48bc1b6 100755 --- a/docs/COMPILE.md +++ b/docs/COMPILE.md @@ -129,7 +129,7 @@ If it's the first install, you also need: sudo systemctl restart systemd-binfmt ``` -#### for RISCV +#### for RISC-V Using a 64bit OS: @@ -137,7 +137,7 @@ Using a 64bit OS: git clone https://github.com/ptitSeb/box64 cd box64 mkdir build; cd build; cmake .. -DRV64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo -make -j4 +make -j`nproc` sudo make install ``` If it's the first install, you also need: |