build: add comments to makefiles
authorSergey Matsievskiy <matsievskiysv@gmail.com>
Fri, 8 Nov 2024 11:43:52 +0000 (14:43 +0300)
committerPetr Štetiar <ynezz@true.cz>
Thu, 28 Nov 2024 18:47:03 +0000 (18:47 +0000)
commit11d36818b99463cb8709586011958b8fc9d36ca3
tree6fa8182c4859e7a815d011b7d31e1b512de4386a
parent03984356bdb2d476dcd9c9115dca0c64599c94d0
build: add comments to makefiles

Add comments to build system makefile functions and variables to help
developers in understanding build system internals and ease the
development process.

This patch adds some documentation examples with proposed doxygen-like
syntax. Hopefully, this would start the discussion and result in
generation of the makefile documentation guidelines.

Signed-off-by: Sergey Matsievskiy <matsievskiysv@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/16888
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
(cherry picked from commit a72c8c770584075782959f2aa5c1487d68517edd)
Link: https://github.com/openwrt/openwrt/pull/17097
Signed-off-by: Petr Štetiar <ynezz@true.cz>
include/image.mk
include/target.mk
rules.mk