Rename elf_o to elf

This commit is contained in:
Jozef Nagy
2024-01-10 18:22:13 +01:00
parent fe142416ee
commit c4f77f4809
5 changed files with 29 additions and 28 deletions

View File

@@ -1,5 +1,6 @@
add_subdirectory(beep) add_subdirectory(beep)
add_subdirectory(dummy) add_subdirectory(dummy)
add_subdirectory(elf)
add_subdirectory(fb_o) add_subdirectory(fb_o)
add_subdirectory(pecoff_o) add_subdirectory(pecoff_o)
add_subdirectory(xtos_o) add_subdirectory(xtos_o)

View File

@@ -0,0 +1,26 @@
# XT Boot Loader
PROJECT(XTLDR_ELF)
# Specify include directories
include_directories(
${EXECTOS_SOURCE_DIR}/sdk/xtdk
${XTLDR_ELF_SOURCE_DIR}/includes)
# Specify list of source code files
list(APPEND XTLDR_ELF_SOURCE
${XTLDR_ELF_SOURCE_DIR}/elf.c)
# Link bootloader executable
add_executable(elf ${XTLDR_ELF_SOURCE})
# Add linker libraries
target_link_libraries(elf libxtos libxtldr)
# Set proper binary name and install target
set_target_properties(elf PROPERTIES SUFFIX .efi)
set_install_target(elf efi/boot/xtldr/modules)
# Set module entrypoint and subsystem
set_entrypoint(elf "XtLdrModuleMain")
set_linker_map(elf TRUE)
set_subsystem(elf efi_boot_service_driver)

View File

@@ -1,7 +1,7 @@
/** /**
* PROJECT: ExectOS * PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory * COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtldr/modules/elf_o/elf.c * FILE: xtldr/modules/elf/elf.c
* DESCRIPTION: ELF executable file format support module * DESCRIPTION: ELF executable file format support module
* DEVELOPERS: Jozef Nagy <schkwve@gmail.com> * DEVELOPERS: Jozef Nagy <schkwve@gmail.com>
*/ */

View File

@@ -1,7 +1,7 @@
/** /**
* PROJECT: ExectOS * PROJECT: ExectOS
* COPYRIGHT: See COPYING.md in the top level directory * COPYRIGHT: See COPYING.md in the top level directory
* FILE: xtldr/modules/elf_o/includes/elf.h * FILE: xtldr/modules/elf/includes/elf.h
* DESCRIPTION: ELF executable file format support header * DESCRIPTION: ELF executable file format support header
* DEVELOPERS: Jozef Nagy <schkwve@gmail.com> * DEVELOPERS: Jozef Nagy <schkwve@gmail.com>
*/ */

View File

@@ -1,26 +0,0 @@
# XT Boot Loader
PROJECT(XTLDR_ELF_O)
# Specify include directories
include_directories(
${EXECTOS_SOURCE_DIR}/sdk/xtdk
${XTLDR_ELF_O_SOURCE_DIR}/includes)
# Specify list of source code files
list(APPEND XTLDR_ELF_O_SOURCE
${XTLDR_ELF_O_SOURCE_DIR}/elf.c)
# Link bootloader executable
add_executable(elf_o ${XTLDR_ELF_O_SOURCE})
# Add linker libraries
target_link_libraries(elf_o libxtos libxtldr)
# Set proper binary name and install target
set_target_properties(elf_o PROPERTIES SUFFIX .efi)
set_install_target(elf_o efi/boot/xtldr/modules)
# Set module entrypoint and subsystem
set_entrypoint(elf_o "XtLdrModuleMain")
set_linker_map(elf_o TRUE)
set_subsystem(elf_o efi_boot_service_driver)