Bootloader do some directory restructuring

This commit is contained in:
Bananymous 2023-11-18 13:59:45 +02:00
parent a312d75bb2
commit 6e2443ca72
13 changed files with 20 additions and 19 deletions

View File

@ -1,3 +0,0 @@
test.img
build/
installer/build/

View File

@ -1,18 +1,3 @@
cmake_minimum_required(VERSION 3.26)
project(bootloader ASM)
set(BOOTLOADER_SOURCES
boot.S
command_line.S
disk.S
elf.S
ext2.S
framebuffer.S
memory_map.S
utils.S
)
add_executable(bootloader ${BOOTLOADER_SOURCES})
target_link_options(bootloader PUBLIC LINKER:-T,${CMAKE_CURRENT_SOURCE_DIR}/linker.ld)
target_link_options(bootloader PUBLIC -nostdlib)
add_subdirectory(bios)

View File

@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.26)
project(bootloader ASM)
set(BOOTLOADER_SOURCES
boot.S
command_line.S
disk.S
elf.S
ext2.S
framebuffer.S
memory_map.S
utils.S
)
add_executable(bootloader ${BOOTLOADER_SOURCES})
target_link_options(bootloader PRIVATE LINKER:-T,${CMAKE_CURRENT_SOURCE_DIR}/linker.ld)
target_link_options(bootloader PRIVATE -nostdlib)

1
bootloader/installer/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
build/