Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
099b6051
Commit
099b6051
authored
Apr 01, 2015
by
danh-arm
Browse files
Merge pull request #279 from sandrine-bailleux/sb/fix-checkpatch
Bug Fix: Fix checkpatch rule in Makefile
parents
874cd37f
662109a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
099b6051
...
@@ -87,7 +87,9 @@ CHECK_IGNORE = --ignore COMPLEX_MACRO \
...
@@ -87,7 +87,9 @@ CHECK_IGNORE = --ignore COMPLEX_MACRO \
CHECKPATCH_ARGS
=
--no-tree
--no-signoff
${CHECK_IGNORE}
CHECKPATCH_ARGS
=
--no-tree
--no-signoff
${CHECK_IGNORE}
CHECKCODE_ARGS
=
--no-patch
--no-tree
--no-signoff
${CHECK_IGNORE}
CHECKCODE_ARGS
=
--no-patch
--no-tree
--no-signoff
${CHECK_IGNORE}
# Do not check the coding style on C library files
# Do not check the coding style on C library files
CHECK_PATHS
=
$(
shell
ls
-I
include
-I
lib
)
$(
shell
ls
-I
stdlib include
)
$(
shell
ls
-I
stdlib lib
)
CHECK_PATHS
=
$(
shell
ls
-I
include
-I
lib
)
\
$(
addprefix
include/,
$(
shell
ls
-I
stdlib include
))
\
$(
addprefix
lib/,
$(
shell
ls
-I
stdlib lib
))
ifeq
(${V},0)
ifeq
(${V},0)
Q
=
@
Q
=
@
...
@@ -371,7 +373,7 @@ checkcodebase: locate-checkpatch
...
@@ -371,7 +373,7 @@ checkcodebase: locate-checkpatch
checkpatch
:
locate-checkpatch
checkpatch
:
locate-checkpatch
@
echo
" CHECKING STYLE"
@
echo
" CHECKING STYLE"
@
git log
-p
${BASE_COMMIT}
..HEAD
--
${CHECK_PATHS}
|
${CHECKPATCH}
${CHECKPATCH_ARGS}
-
||
true
${Q}
git log
-p
${BASE_COMMIT}
..HEAD
--
${CHECK_PATHS}
|
${CHECKPATCH}
${CHECKPATCH_ARGS}
-
||
true
.PHONY
:
${CRTTOOL}
.PHONY
:
${CRTTOOL}
${CRTTOOL}
:
${CRTTOOL}
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment