tools: fix compile issues when GNU extensions are not present
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest2 patches 2 repliesIn review
- v32 patches 1 replySuperseded
- v22 patches 5 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 3 patches | 4 replies | Superseded |
Changes in v4 from the cover letter
- Keep semantics consistent with before: help messages should return the full name, not the short name. (Bart)
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | tools: remove dependency on glibc program_invocation_[short_]nametools/ tools/ tools/ +5 more | +47 | 0 replies | |
| 2/2 | contrib: add sample Android.bp to build within an Android treecontrib/ | +136 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [libgpiod,v4 0/2] tools: fix compile issues when GNU extensions are not present
v4:
- Keep semantics consistent with before: help messages should return the full name, not the short name. (Bart)
v3:
- Collapse --version print into a single line. (Andy)
- Handle program name fully independently rather than rely on any extensions at all. (Bart)
- Move Android.bp into contrib/ folder. (Bart)
- Add SPDX license tag and clean up Android.bp patch comments in the context of it possibly being accepted into the upstream tree.
v2:
- Add missing Signed-off-by: tags.
v1:
Fix issue when building against a C library without GNU extensions, such as Android's Bionic libc.
A commit with a sample Android.bp file that's working against Android 11 is included for informational purposes, which I don't expect Bartosz to pull.
Benjamin Li (2):
tools: remove dependency on glibc program_invocation_[short_]name
contrib: add sample Android.bp to build within an Android tree
contrib/Android.bp | 136 +++++++++++++++++++++++++++++++++++++++++++ tools/gpiodetect.c | 5 +- tools/gpioget.c | 5 +- tools/gpioinfo.c | 5 +- tools/gpiomon.c | 5 +- tools/gpionotify.c | 5 +- tools/gpioset.c | 5 +- tools/tools-common.c | 34 ++++++++--- tools/tools-common.h | 4 +- 9 files changed, 183 insertions(+), 21 deletions(-) create mode 100644 contrib/Android.bp
Signature · 1 line
2.25.1