]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - Makefile
devicetree: Expose dtbs_check and dt_binding_check some more
[linux.git] / Makefile
index 9be5834073f8937f5ceb358e620af0795243b56d..e99bd31e5139f968b7b5fd2fdc298c7f98c01c0c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
 VERSION = 5
 PATCHLEVEL = 3
 SUBLEVEL = 0
-EXTRAVERSION = -rc1
+EXTRAVERSION = -rc2
 NAME = Bobtail Squid
 
 # *DOCUMENTATION*
@@ -843,6 +843,9 @@ NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include)
 # warn about C99 declaration after statement
 KBUILD_CFLAGS += -Wdeclaration-after-statement
 
+# Warn about unmarked fall-throughs in switch statement.
+KBUILD_CFLAGS += $(call cc-option,-Wimplicit-fallthrough=3,)
+
 # Variable Length Arrays (VLAs) should not be used anywhere in the kernel
 KBUILD_CFLAGS += -Wvla
 
@@ -1503,8 +1506,10 @@ help:
        @echo  ''
        @$(if $(dtstree), \
                echo 'Devicetree:'; \
-               echo '* dtbs            - Build device tree blobs for enabled boards'; \
-               echo '  dtbs_install    - Install dtbs to $(INSTALL_DTBS_PATH)'; \
+               echo '* dtbs             - Build device tree blobs for enabled boards'; \
+               echo '  dtbs_install     - Install dtbs to $(INSTALL_DTBS_PATH)'; \
+               echo '  dt_binding_check - Validate device tree binding documents'; \
+               echo '  dtbs_check       - Validate device tree source files';\
                echo '')
 
        @echo 'Userspace tools targets:'