| #
228cf40e |
| 28-Mar-2025 |
Rouven Czerwinski <r.czerwinski@pengutronix.de> |
tree-wide: use /usr/bin/env bash in bash scripts
Some distributions don't provide bash inside of /bin, increase compatibility by using env to resolve the correct path at runtime. Fixes running the s
tree-wide: use /usr/bin/env bash in bash scripts
Some distributions don't provide bash inside of /bin, increase compatibility by using env to resolve the correct path at runtime. Fixes running the scripts on my NixOS systems.
Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@foss.st.com>
show more ...
|
| #
bac79749 |
| 19-Jan-2023 |
Andrew Mustea <andrew.mustea@microsoft.com> |
scripts: checkpatch: rework and add examples to help message
- See https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection for more info about Git Revision Selections.
Signed-off-by: Andrew M
scripts: checkpatch: rework and add examples to help message
- See https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection for more info about Git Revision Selections.
Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
show more ...
|
| #
77571213 |
| 22-Dec-2022 |
Andrew Mustea <andrew.mustea@microsoft.com> |
scripts: checkpatch: allow git revision selections as arguments
- The git commands `git rev-parse` and `git rev-list` were added in version 2.19. - `git rev-parse` can parse revision names or any
scripts: checkpatch: allow git revision selections as arguments
- The git commands `git rev-parse` and `git rev-list` were added in version 2.19. - `git rev-parse` can parse revision names or any revision selection and return the corresponding git object name. This includes being able to parse commit ranges, specific hashes, branch names, git tags, etc. See 'https://git-scm.com/book/en/v2/Git-Tools-Revision-Selection' for more info. - If `git rev-parse` returns a range of git objects, `git rev-list` can convert it into a list of commit ids.
Signed-off-by: Andrew Mustea <andrew.mustea@microsoft.com>
show more ...
|
| #
33977c01 |
| 17-Oct-2018 |
Markus S. Wamser <markus.wamser@mixed-mode.de> |
auto-locate checkpatch
Try to locate checkpatch.pl in typical location(s) if environment variable CHECKPATCH is not set. The launch script first tries to find checkpatch.pl on the path, next it chec
auto-locate checkpatch
Try to locate checkpatch.pl in typical location(s) if environment variable CHECKPATCH is not set. The launch script first tries to find checkpatch.pl on the path, next it checks typical locations for linux headers, finally it tries to locate linux sources used for OP-TEE in with QEMU. The first match is used as the checkpatch instance to be invoked.
Signed-off-by: Markus S. Wamser <markus.wamser@mixed-mode.de> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|
| #
849b17bd |
| 22-Feb-2017 |
Jerome Forissier <jerome.forissier@linaro.org> |
checkpatch: accept several commits
If several commit IDs are passed to the script, process them in order. This helps check several commits in a development branch, for instance: ./scripts/checkpat
checkpatch: accept several commits
If several commit IDs are passed to the script, process them in order. This helps check several commits in a development branch, for instance: ./scripts/checkpatch.sh `git rev-list master..HEAD`
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Igor Opaniuk <igor.opaniuk@linaro.org>
show more ...
|
| #
1c93c2b5 |
| 03-Nov-2016 |
Igor Opaniuk <igor.opaniuk@linaro.org> |
scripts: add wrapper script for checkpatch
Add auxilary wrapper for convenient check of commit/ changes in staging area/multiple commits with checkpatch.pl Put common functions for .travis.yml and c
scripts: add wrapper script for checkpatch
Add auxilary wrapper for convenient check of commit/ changes in staging area/multiple commits with checkpatch.pl Put common functions for .travis.yml and checkpatch.sh into a separate file
Signed-off-by: Igor Opaniuk <igor.opaniuk@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
show more ...
|