summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2016-04-08 13:51:46 +0100
committerdanh-arm <dan.handley@arm.com>2016-04-08 13:51:46 +0100
commitaf984eefd7afece2faafb9211a26046d00b3d107 (patch)
tree8809d0de86434cc685485e66bfbffb1a80f2be67 /Makefile
parentc71a87a3b3c7039a7b4d4d72e6df3e5a48bb02b6 (diff)
parent8f524c2232c749bc3dd19f30ffb0f75a2f42ea98 (diff)
Merge pull request #588 from antonio-nino-diaz-arm/an/ignore-check-md
Fix style check and remove markdown files from it
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ed51517f..c5ec6d1c 100644
--- a/Makefile
+++ b/Makefile
@@ -112,10 +112,10 @@ CHECK_IGNORE := --ignore COMPLEX_MACRO \
--ignore GIT_COMMIT_ID
CHECKPATCH_ARGS := --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 or documentation files
INCLUDE_DIRS_TO_CHECK := $(sort $(filter-out include/stdlib, $(wildcard include/*)))
LIB_DIRS_TO_CHECK := $(sort $(filter-out lib/stdlib, $(wildcard lib/*)))
-ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include, $(wildcard *))))
+ROOT_DIRS_TO_CHECK := $(sort $(filter-out lib include docs %.md, $(wildcard *)))
CHECK_PATHS := ${ROOT_DIRS_TO_CHECK} ${INCLUDE_DIRS_TO_CHECK} ${LIB_DIRS_TO_CHECK}