forked from Bananymous/banan-os
				
			Bootloader do some directory restructuring
This commit is contained in:
		
							parent
							
								
									c9e9cfd361
								
							
						
					
					
						commit
						cd646a1ab7
					
				| 
						 | 
					@ -1,3 +0,0 @@
 | 
				
			||||||
test.img
 | 
					 | 
				
			||||||
build/
 | 
					 | 
				
			||||||
installer/build/
 | 
					 | 
				
			||||||
| 
						 | 
					@ -1,18 +1,3 @@
 | 
				
			||||||
cmake_minimum_required(VERSION 3.26)
 | 
					cmake_minimum_required(VERSION 3.26)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
project(bootloader ASM)
 | 
					add_subdirectory(bios)
 | 
				
			||||||
 | 
					 | 
				
			||||||
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)
 | 
					 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					build/
 | 
				
			||||||
		Loading…
	
		Reference in New Issue