docs: fix typo in build system

This commit is contained in:
Wang Ning
2026-05-08 09:52:21 +08:00
parent 44385d91fc
commit cef89b9e19
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -941,7 +941,7 @@ Source Code Generation
Some components will have a situation where a source file isn't supplied with the component itself but has to be generated from another file. Say our component has a header file that consists of the converted binary data of a BMP file, converted using a hypothetical tool called bmp2h. The header file is then included in as C source file called graphics_lib.c::
add_custom_command(OUTPUT logo.h
COMMAND bmp2h -i ${COMPONENT_DIR}/logo.bmp -o log.h
COMMAND bmp2h -i ${COMPONENT_DIR}/logo.bmp -o logo.h
DEPENDS ${COMPONENT_DIR}/logo.bmp
VERBATIM)