https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3bde2740df9104480cb93def48db15d52340c34f

commit 3bde2740df9104480cb93def48db15d52340c34f
Author:     Victor Perevertkin <[email protected]>
AuthorDate: Wed Mar 3 04:59:12 2021 +0300
Commit:     Victor Perevertkin <[email protected]>
CommitDate: Wed Mar 3 06:27:07 2021 +0300

    [BOOTMGFW] Disable EFI bootloader compilation
    
    Don't pretend we are supporting UEFI, we are not
---
 boot/CMakeLists.txt | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/boot/CMakeLists.txt b/boot/CMakeLists.txt
index 727f75a7fff..fbc839db4b0 100644
--- a/boot/CMakeLists.txt
+++ b/boot/CMakeLists.txt
@@ -15,9 +15,11 @@ else()
     message(FATAL_ERROR "Unknown ARCH '" ${ARCH} "', cannot generate a valid 
UEFI boot filename.")
 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
-    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
-    DEPENDS native-fatten fat bootmgfw
+    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
     VERBATIM)
 
 
@@ -164,4 +166,4 @@ add_cd_file(TARGET efisys FILE 
${CMAKE_CURRENT_BINARY_DIR}/efisys.bin DESTINATIO
 
 add_subdirectory(freeldr)
 add_subdirectory(bootdata)
-add_subdirectory(environ)
+# add_subdirectory(environ)

Reply via email to