libcamera/utils/ipu3
Khem Raj f4d416db91 ipu3: Use posix basename
musl does not implement GNU basename extention and with latest musl
the prototype from string.h is also removed [1] which now results in
compile errors e.g.

../git/utils/ipu3/ipu3-pack.c:21:47: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

These utilities are using this function in usage() which is used just
before program exit. Always use the basename APIs from libgen.h which is
posix implementation

[1] https://git.musl-libc.org/cgit/musl/commit/?id=725e17ed6dff4d0cd22487bb64470881e86a92e7

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-04-17 10:56:03 +01:00
..
ipu3-capture.sh utils: ipu3-capture.sh: Fix the script to work with recent media-ctl versions 2023-07-05 00:51:34 +01:00
ipu3-pack.c ipu3: Use posix basename 2024-04-17 10:56:03 +01:00
ipu3-process.sh utils: ipu3: process: Configure formats on ImgU subdev pads 2018-12-11 15:58:19 +02:00
ipu3-unpack.c ipu3: Use posix basename 2024-04-17 10:56:03 +01:00
meson.build utils: ipu3-pack: Provide a 10-bit bayer packing utility 2022-07-19 21:43:35 +05:30