summaryrefslogtreecommitdiff
path: root/utils/codegen/gen-controls.py
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-09 03:29:48 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2024-08-16 00:00:28 +0300
commit48f9660acd51dda1f4dbe778b5b5f9bec0483b34 (patch)
tree4fc3621ae2a450be348aafcd84c04c862e7418a3 /utils/codegen/gen-controls.py
parenta5f12d2eb35a2fa57a4383869b5e616c3ce1e2ae (diff)
utils: codegen: gen-header.sh: Generate libcamera.h based on meson.build
The libcamera.h header is a top-level library header that contains every other libcamera header. It is currently generated by listing the files in include/libcamera/ and dropping the .in suffix from template files. This assumes a 1:1 mapping between generated header file names and the name of their templates. Drop that assumption and base the libcamera.h generation on the libcamera public headers listed in meson.build. This makes the libcamera.h header generation more future-proof. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Daniel Scally <dan.scally@ideasonboard.com> Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'utils/codegen/gen-controls.py')
0 files changed, 0 insertions, 0 deletions