libcamera/utils
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
..
hooks hooks: pre-push: Disable interpretation of escape sequences 2024-01-09 15:39:04 +00:00
ipc utils: ipc: Fix async main interface functions with no parameters 2024-04-13 19:25:01 +03:00
ipu3 ipu3: Use posix basename 2024-04-17 10:56:03 +01:00
raspberrypi utils: raspberrypi: ctt: Improve the Macbeth Chart search reliability 2024-01-09 15:39:02 +00:00
rkisp1 utils: rkisp1: gen-csc-table.py: Don't presume python3 location 2024-02-27 15:53:46 +02:00
tracepoints libcamera: tracing: fix header generation when built as subproject 2022-11-24 14:52:00 +00:00
tuning utils: tuning: readme: Improve names of dependency packages 2024-03-19 19:57:29 +09:00
abi-compat.sh utils: ABI Compatibility checker 2023-07-04 20:25:10 +01:00
checkstyle.py checkstyle: Work around bug in difflib 2024-03-15 14:14:59 +01:00
gen-controls.py libcamera: controls: Use vendor tags for draft controls and properties 2023-11-30 13:59:27 +00:00
gen-formats.py utils: gen-formats: Support big-endian DRM formats 2021-02-01 22:33:55 +02:00
gen-header.sh utils: Convert to pragma once 2021-11-24 12:19:03 +00:00
gen-ipa-priv-key.sh libcamera: ipa: Move key generation to utils 2020-09-24 10:56:22 +01:00
gen-ipa-pub-key.py libcamera: ipa: Move key generation to utils 2020-09-24 10:56:22 +01:00
gen-version.sh meson: Really fix git version parsing 2023-04-05 07:16:07 +03:00
meson.build README, meson: Add dependency on ply and jinja2 for IPA interface generation 2020-11-11 19:23:16 +09:00
release.sh utils: Provide a release script 2022-10-13 12:40:24 +01:00
run-dist.sh build: Preserve upstream git versioning using meson dist 2021-10-19 13:14:54 +03:00
semver utils: semver: Add version helper 2022-10-13 12:40:23 +01:00
update-kernel-headers.sh utils: update-kernel-headers: Support git worktrees 2023-10-18 16:17:18 +03:00
update-mojo.sh utils: update-mojo.sh: Commit the mojo update 2024-01-09 15:39:05 +00:00