From 28b866cc9c267554b49c2f5542d1c5c7a1102c0d Mon Sep 17 00:00:00 2001 From: Mark Jansen Date: Sun, 18 Aug 2019 16:39:45 +0200 Subject: [PATCH] [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() -- 2.17.1