Skip to content

Commit

Permalink
cmake: block compilation of the 'main' rimage branch
Browse files Browse the repository at this point in the history
marc-hb committed Oct 16, 2023
1 parent ac487e0 commit 68797fb
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -4,6 +4,15 @@ cmake_minimum_required(VERSION 3.10)

project(SOF_RIMAGE C)

# Secret bisectability escape hatch in case things change again...
if(NOT RIMAGE_FORCE_BUILD_DEAD_BRANCH)
message(FATAL_ERROR
"The rimage 'main' branch has been moved to:
https://github.com/thesofproject/sof/tree/main/tools/rimage
Please use another branch.
For more see https://github.com/thesofproject/sof/issues/8178")
endif()

if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
message(STATUS "No CMAKE_BUILD_TYPE, defaulting to Debug")
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build Type" FORCE)

0 comments on commit 68797fb

Please sign in to comment.