Decouple commands in checkpatch Makefile target

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2018-01-04 21:54:10 +00:00
parent b04596a32b
commit 8d89ba39d4

View File

@@ -158,9 +158,9 @@ checkcodebase:
checkpatch: checkpatch:
$Qeval COMMON_COMMIT=$$(git merge-base HEAD origin/develop); \ $Qeval COMMON_COMMIT=$$(git merge-base HEAD origin/develop); \
for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \ for commit in `git rev-list $$COMMON_COMMIT..HEAD`; do \
echo "[*] Analyzing commit '$$commit'" && \ echo "[*] Analyzing commit '$$commit'"; \
git format-patch --stdout "$$commit~..$$commit" \ git format-patch --stdout "$$commit~..$$commit" \
| ${CHECKPATCH} - || true;\ | ${CHECKPATCH} - || true; \
done done
# Target for the project maintainer to easily create web manuals. # Target for the project maintainer to easily create web manuals.