https://git.reactos.org/?p=reactos.git;a=commitdiff;h=28b866cc9c267554b49c2…
commit 28b866cc9c267554b49c2f5542d1c5c7a1102c0d
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Sun Aug 18 16:39:45 2019 +0200
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Tue Aug 20 22:28:10 2019 +0200
[CMAKE] Add explicit failure message
Previously this would show up as dependency cycle
---
boot/freeldr/bootsect/CMakeLists.txt | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/boot/freeldr/bootsect/CMakeLists.txt b/boot/freeldr/bootsect/CMakeLists.txt
index ddcbf968018..411750ac7a0 100644
--- a/boot/freeldr/bootsect/CMakeLists.txt
+++ b/boot/freeldr/bootsect/CMakeLists.txt
@@ -30,5 +30,11 @@ if(ARCH STREQUAL "i386" OR ARCH STREQUAL "amd64")
add_cd_file(TARGET fat32 DESTINATION loader NO_CAB FILE
${CMAKE_CURRENT_BINARY_DIR}/fat32.bin FOR bootcd regtest)
add_cd_file(TARGET isoboot DESTINATION loader NO_CAB NOT_IN_HYBRIDCD FILE
${CMAKE_CURRENT_BINARY_DIR}/isoboot.bin FOR all hybridcd)
add_cd_file(TARGET isobtrt DESTINATION loader NO_CAB NOT_IN_HYBRIDCD FILE
${CMAKE_CURRENT_BINARY_DIR}/isobtrt.bin FOR bootcd regtest)
-
+elseif(ARCH STREQUAL "arm")
+ add_custom_target(fat
+ COMMAND exit 1
+ COMMENT "arm fat target not implemented yet")
+ add_custom_target(fat32
+ COMMAND exit 1
+ COMMENT "arm fat32 target not implemented yet")
endif()