summaryrefslogtreecommitdiff
path: root/Cmds
diff options
context:
space:
mode:
Diffstat (limited to 'Cmds')
-rw-r--r--Cmds7
1 files changed, 7 insertions, 0 deletions
diff --git a/Cmds b/Cmds
index 9d2675f..247a972 100644
--- a/Cmds
+++ b/Cmds
@@ -14,6 +14,13 @@ else
STRIP = $(Q)echo -e " STRIP\t$@" && $(CROSS_COMPILE)strip
endif
+# sparse related
+ifeq ($(C), 1)
+ CHECK = $(Q)echo -e " CHECK\t$<" && sparse
+else
+ CHECK = $(Q)true
+endif
+
# Flex/bison related
LEX = $(Q)echo -e " LEX\t$<" && flex
YAAC = $(Q)echo -e " YAAC\t$<" && bison