Rename elf_o to elf
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
add_subdirectory(beep)
|
||||
add_subdirectory(dummy)
|
||||
add_subdirectory(elf)
|
||||
add_subdirectory(fb_o)
|
||||
add_subdirectory(pecoff_o)
|
||||
add_subdirectory(xtos_o)
|
||||
|
26
xtldr/modules/elf/CMakeLists.txt
Normal file
26
xtldr/modules/elf/CMakeLists.txt
Normal 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)
|
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* 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
|
||||
* DEVELOPERS: Jozef Nagy <schkwve@gmail.com>
|
||||
*/
|
@@ -1,7 +1,7 @@
|
||||
/**
|
||||
* PROJECT: ExectOS
|
||||
* 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
|
||||
* DEVELOPERS: Jozef Nagy <schkwve@gmail.com>
|
||||
*/
|
@@ -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)
|
Reference in New Issue
Block a user