Skip to content
Permalink
Browse files

cmake: Fix missing dependency

KOBJ_OTYPE should depend on any changes to the tool that generates it,
gen_kobject_list.py.

Signed-off-by: Phil Erwin <erwin@lexmark.com>
  • Loading branch information...
pderwin authored and galak committed Apr 29, 2019
1 parent b364b84 commit ef621160f8180df7a6f6fb51d0175d2d4a52c24a
Showing with 1 addition and 0 deletions.
  1. +1 −0 cmake/kobj.cmake
@@ -22,6 +22,7 @@ function(gen_kobj gen_dir_out)
--kobj-otype-output ${KOBJ_OTYPE}
--kobj-size-output ${KOBJ_SIZE}
$<$<BOOL:${CMAKE_VERBOSE_MAKEFILE}>:--verbose>
DEPENDS $ENV{ZEPHYR_BASE}/scripts/gen_kobject_list.py
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
add_custom_target(${KOBJ_TYPES_H_TARGET} DEPENDS ${KOBJ_TYPES} ${KOBJ_OTYPE})

0 comments on commit ef62116

Please sign in to comment.
You can’t perform that action at this time.