| #
0dfa3dea |
| 29-May-2024 |
Chris Kay <chris.kay@arm.com> |
build: add facilities for interpreting boolean values
This is another small addition to the build system utlities to make it easier to determine the truthiness of an arbitrary value.
This change ad
build: add facilities for interpreting boolean values
This is another small addition to the build system utlities to make it easier to determine the truthiness of an arbitrary value.
This change adds the `bool` function, which takes a value and determines whether the value is "truthy". We consider a value to be truthy if it is NOT one of: "0", "n", "no", "f" or "false" (all case-insensitive).
If the value is truthy then it is returned as-is. Otherwise, no value is returned.
Change-Id: I19347f4c3ae00a6b448514a28cc2d9d06f683f25 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
3af4eb50 |
| 29-May-2024 |
Chris Kay <chris.kay@arm.com> |
build: add string casing facilities to utilities
This is a small modification to two existing functions in the build system: `uppercase` and `lowercase`.
These functions have been moved to the comm
build: add string casing facilities to utilities
This is a small modification to two existing functions in the build system: `uppercase` and `lowercase`.
These functions have been moved to the common utilities makefile, and use the `tr` tool to simplify their implementation. Behaviour is, for virtually all use-cases, identical.
Change-Id: I0e459d92e454087e4188b2fa5968244e5db89906 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| #
4731c00b |
| 09-Apr-2024 |
Chris Kay <chris.kay@arm.com> |
fix(build): wrap toolchain paths in double quotes
Fix issue with Windows paths containing spaces. Recent toolchain refactoring (cc277de) caused a regression in the Windows build. Ensure toolchain pa
fix(build): wrap toolchain paths in double quotes
Fix issue with Windows paths containing spaces. Recent toolchain refactoring (cc277de) caused a regression in the Windows build. Ensure toolchain path utilities wrap paths in double quoted strings.
Change-Id: I7a136e459d85cff1e9851aedf0a5272a841df09c Signed-off-by: Harrison Mutai <harrison.mutai@arm.com> Signed-off-by: Chris Kay <chris.kay@arm.com> Co-authored-by: Chris Kay <chris.kay@arm.com>
show more ...
|