build kernel as 32-bit ELF for now so GRUB can recognize it as multiboot
This commit is contained in:
parent
0adc6e395c
commit
6053745ee9
10
.gitignore
vendored
10
.gitignore
vendored
@ -5,9 +5,9 @@
|
||||
*.map
|
||||
*.bin
|
||||
/.rscons*
|
||||
/x86_64-cross/.rscons*
|
||||
/x86_64-cross/build*/
|
||||
/x86_64-cross/*.xz
|
||||
/x86_64-cross/binutils-*/
|
||||
/x86_64-cross/gcc-*/
|
||||
/cross/.rscons*
|
||||
/cross/build*/
|
||||
/cross/*.xz
|
||||
/cross/binutils-*/
|
||||
/cross/gcc-*/
|
||||
/build/
|
||||
|
@ -1,5 +1,5 @@
|
||||
configure do
|
||||
check_c_compiler "x86_64-elf-gcc", on_fail: "Install cross compiler from x86_64-cross directory"
|
||||
check_c_compiler "i686-elf-gcc"
|
||||
check_program "genext2fs"
|
||||
check_program "grub-mkstandalone"
|
||||
check_program "mformat", on_fail: "Install the mtools package"
|
||||
|
@ -32,7 +32,7 @@ if [ ! -d gcc-${GCC_VERSION} ]; then
|
||||
fi
|
||||
|
||||
export PREFIX="$HOME/.local"
|
||||
export TARGET="x86_64-elf"
|
||||
export TARGET="i686-elf"
|
||||
export PATH="$PREFIX/bin:$PATH"
|
||||
|
||||
function build_binutils()
|
Loading…
x
Reference in New Issue
Block a user