mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-31 16:16:23 +01:00 
			
		
		
		
	Add rust support to android-arm
This commit is contained in:
		| @@ -35,6 +35,12 @@ RUN mkdir -p /build && \ | |||||||
|     find ${CROSS_ROOT} -exec chmod a+r '{}' \; && \ |     find ${CROSS_ROOT} -exec chmod a+r '{}' \; && \ | ||||||
|     find ${CROSS_ROOT} -executable -exec chmod a+x '{}' \; |     find ${CROSS_ROOT} -executable -exec chmod a+x '{}' \; | ||||||
|  |  | ||||||
|  | # Prepare Rust | ||||||
|  | ENV PATH="/root/.cargo/bin/:$PATH" | ||||||
|  | RUN rustup target add armv7-linux-androideabi | ||||||
|  | COPY config.toml /root/.cargo/ | ||||||
|  |  | ||||||
|  | # Prepare CMake | ||||||
| COPY Toolchain.cmake ${CROSS_ROOT}/ | COPY Toolchain.cmake ${CROSS_ROOT}/ | ||||||
| ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake | ENV CMAKE_TOOLCHAIN_FILE ${CROSS_ROOT}/Toolchain.cmake | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										5
									
								
								android-arm/config.toml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								android-arm/config.toml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | |||||||
|  | [build] | ||||||
|  | target = "armv7-linux-androideabi" | ||||||
|  |  | ||||||
|  | [target.armv7-linux-androideabi] | ||||||
|  | linker = "/usr/arm-linux-androideabi/bin/armv7a-linux-androideabi23-clang" | ||||||
		Reference in New Issue
	
	Block a user
	 Jonas Vautherin
					Jonas Vautherin