Skip to content

Commit

Permalink
cmake: block compilation of the 'main' rimage branch
Browse files Browse the repository at this point in the history
Gently redirect users to
https://github.com/thesofproject/sof/tree/main/tools/rimage
and thesofproject/sof#8178

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and lgirdwood committed Oct 18, 2023
1 parent 8e00575 commit 8d9eece
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
Expand Up @@ -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)
Expand Down

0 comments on commit 8d9eece

Please sign in to comment.