File tree Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Expand file tree Collapse file tree 4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 8
8
mips *
9
9
arm *
10
10
aarch64 *
11
+ riscv32 *
12
+ riscv64 *
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ $(host_prefix)/share/config.site: check-packages
167
167
check-packages : check-sources
168
168
169
169
clean-all : clean
170
- @rm -rf $(SOURCES_PATH ) x86_64* i686* mips* arm* aarch64*
170
+ @rm -rf $(SOURCES_PATH ) x86_64* i686* mips* arm* aarch64* riscv32 * riscv64 *
171
171
172
172
clean :
173
173
@rm -rf $(WORK_PATH ) $(BASE_CACHE ) $(BUILD )
Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ Common `host-platform-triplets` for cross compilation are:
25
25
- ` x86_64-apple-darwin11 ` for macOS
26
26
- ` arm-linux-gnueabihf ` for Linux ARM 32 bit
27
27
- ` aarch64-linux-gnu ` for Linux ARM 64 bit
28
+ - ` riscv32-linux-gnu ` for Linux RISC-V 32 bit
29
+ - ` riscv64-linux-gnu ` for Linux RISC-V 64 bit
28
30
29
31
No other options are needed, the paths are automatically configured.
30
32
@@ -43,6 +45,9 @@ For linux (including i386, ARM) cross compilation:
43
45
44
46
sudo apt-get install curl g++-aarch64-linux-gnu g++-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu binutils-aarch64-linux-gnu g++-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf gcc-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf g++-4.8-multilib gcc-4.8-multilib binutils-gold bsdmainutils
45
47
48
+ For linux RISC-V 64-bit cross compilation (there are no packages for 32-bit):
49
+
50
+ sudo apt-get install curl g++-riscv64-linux-gnu binutils-riscv64-linux-gnu
46
51
47
52
Dependency Options:
48
53
The following can be set when running make: make FOO=bar
Original file line number Diff line number Diff line change @@ -52,6 +52,8 @@ $(package)_config_opts_aarch64_linux=linux-generic64
52
52
$(package ) _config_opts_mipsel_linux=linux-generic32
53
53
$(package ) _config_opts_mips_linux=linux-generic32
54
54
$(package ) _config_opts_powerpc_linux=linux-generic32
55
+ $(package ) _config_opts_riscv32_linux=linux-generic32
56
+ $(package ) _config_opts_riscv64_linux=linux-generic64
55
57
$(package ) _config_opts_x86_64_darwin=darwin64-x86_64-cc
56
58
$(package ) _config_opts_x86_64_mingw32=mingw64
57
59
$(package ) _config_opts_i686_mingw32=mingw
You can’t perform that action at this time.
0 commit comments