build: add comments to makefiles
authorSergey Matsievskiy <matsievskiysv@gmail.com>
Fri, 8 Nov 2024 11:43:52 +0000 (14:43 +0300)
committerChristian Marangi <ansuelsmth@gmail.com>
Tue, 12 Nov 2024 16:56:07 +0000 (17:56 +0100)
commita72c8c770584075782959f2aa5c1487d68517edd
treebcc156acf949f94676ddc0b0722cf59222d57ee8
parentdbe01f7d999d0e02fa1e01aa596562ce04ec1f6a
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>
include/image.mk
include/target.mk
rules.mk