Skip to content

Commit

Permalink
cmake: use fw.h and manifest.h from rimage/
Browse files Browse the repository at this point in the history
Since both fw.h and manifest.h are being used in the main SOF
repo, and also the standalone rimage repo, to prevent them
getting out of sync, use the ones coming from the rimage repo
instead.

Also, git submodule update is being executed when cmake is
run so there is no need to update when building rimage.

Signed-off-by: Daniel Leung <[email protected]>
  • Loading branch information
dcpleung authored and lgirdwood committed May 13, 2020
1 parent d53778f commit f6f748b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 309 deletions.
1 change: 1 addition & 0 deletions smex/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ target_compile_options(smex PRIVATE

target_include_directories(smex PRIVATE
"${SOF_ROOT_SOURCE_DIRECTORY}/src/include"
"${SOF_ROOT_SOURCE_DIRECTORY}/rimage/src/include/sof"
)
1 change: 0 additions & 1 deletion src/arch/xtensa/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,6 @@ add_custom_target(

ExternalProject_Add(rimage_ep
DEPENDS check_version_h
DOWNLOAD_COMMAND git submodule update --init
SOURCE_DIR "${PROJECT_SOURCE_DIR}/rimage"
PREFIX "${PROJECT_BINARY_DIR}/rimage_ep"
BINARY_DIR "${PROJECT_BINARY_DIR}/rimage_ep/build"
Expand Down
80 changes: 0 additions & 80 deletions src/include/kernel/fw.h

This file was deleted.

228 changes: 0 additions & 228 deletions src/include/user/manifest.h

This file was deleted.

1 change: 1 addition & 0 deletions tools/logger/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ target_compile_options(sof-logger PRIVATE

target_include_directories(sof-logger PRIVATE
"${SOF_ROOT_SOURCE_DIRECTORY}/src/include"
"${SOF_ROOT_SOURCE_DIRECTORY}/rimage/src/include/sof"
"${SOF_ROOT_SOURCE_DIRECTORY}"
)

Expand Down

0 comments on commit f6f748b

Please sign in to comment.