add configure script

This commit is contained in:
Josh Holtrop 2020-10-13 19:53:14 -04:00
parent 94ed9078df
commit bbf212d5a2
3 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@
/x86_64-cross/*.xz /x86_64-cross/*.xz
/x86_64-cross/binutils-*/ /x86_64-cross/binutils-*/
/x86_64-cross/gcc-*/ /x86_64-cross/gcc-*/
/build/

3
Rsconscript Normal file
View File

@ -0,0 +1,3 @@
configure do
check_c_compiler "x86_64-elf-gcc", on_fail: "Install cross compiler from x86_64-cross directory"
end

2
configure vendored Executable file
View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ./rscons configure "$@"