Fix typos and arch type string

This commit is contained in:
Pierce Andjelkovic 2022-06-08 18:31:34 +10:00 committed by GitHub
parent 1057b88ba7
commit b7bf1955b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -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)

View File

@ -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: