Skip to content

Commit

Permalink
Fix #2391, add cfe to prefix list for msgids.h and platform_cfg.h
Browse files Browse the repository at this point in the history
This allows the script to pick up the file if it was named simply
"cfe_msgids.h" or "cfe_platform_cfg.h", rather than insisting it be
named with a platform-specific prefix
  • Loading branch information
jphickey committed Jul 12, 2023
1 parent 600a209 commit 5b726a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/core_api/arch_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generate_config_includefile(
FILE_NAME "cfe_msgids.h"
MATCH_SUFFIX "msgids.h"
FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_cfe_msgids.h"
PREFIXES ${BUILD_CONFIG}
PREFIXES ${BUILD_CONFIG} cfe
)

generate_config_includefile(
Expand Down
2 changes: 1 addition & 1 deletion modules/core_private/arch_build.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ generate_config_includefile(
FILE_NAME "cfe_platform_cfg.h"
FALLBACK_FILE "${CMAKE_CURRENT_LIST_DIR}/config/default_cfe_platform_cfg.h"
MATCH_SUFFIX "platform_cfg.h"
PREFIXES ${BUILD_CONFIG}
PREFIXES ${BUILD_CONFIG} cfe
)

generate_config_includefile(
Expand Down

0 comments on commit 5b726a5

Please sign in to comment.