mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[BOOTMGFW] Disable EFI bootloader compilation
Don't pretend we are supporting UEFI, we are not
This commit is contained in:
parent
6e40a96145
commit
3bde2740df
1 changed files with 5 additions and 3 deletions
|
@ -15,9 +15,11 @@ else()
|
||||||
message(FATAL_ERROR "Unknown ARCH '" ${ARCH} "', cannot generate a valid UEFI boot filename.")
|
message(FATAL_ERROR "Unknown ARCH '" ${ARCH} "', cannot generate a valid UEFI boot filename.")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# FIXME: this command creates a dummy EFI partition, add EFI/BOOT/boot${EFI_PLATFORM_ID}.efi file
|
||||||
|
# once ReactOS supports UEFI
|
||||||
add_custom_target(efisys
|
add_custom_target(efisys
|
||||||
COMMAND native-fatten ${CMAKE_CURRENT_BINARY_DIR}/efisys.bin -format 2880 EFIBOOT -boot ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/fat.bin -mkdir EFI -mkdir EFI/BOOT -add $<TARGET_FILE:bootmgfw> EFI/BOOT/boot${EFI_PLATFORM_ID}.efi
|
COMMAND native-fatten ${CMAKE_CURRENT_BINARY_DIR}/efisys.bin -format 2880 EFIBOOT -boot ${CMAKE_CURRENT_BINARY_DIR}/freeldr/bootsect/fat.bin -mkdir EFI -mkdir EFI/BOOT
|
||||||
DEPENDS native-fatten fat bootmgfw
|
DEPENDS native-fatten fat
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
|
|
||||||
|
|
||||||
|
@ -164,4 +166,4 @@ add_cd_file(TARGET efisys FILE ${CMAKE_CURRENT_BINARY_DIR}/efisys.bin DESTINATIO
|
||||||
|
|
||||||
add_subdirectory(freeldr)
|
add_subdirectory(freeldr)
|
||||||
add_subdirectory(bootdata)
|
add_subdirectory(bootdata)
|
||||||
add_subdirectory(environ)
|
# add_subdirectory(environ)
|
||||||
|
|
Loading…
Reference in a new issue