Makefile (9ef0e004181956e158fb7ceb9b43810a193f80cd) | Makefile (0fb9dc28679a627f84974165c8011e0630529ece) |
---|---|
1# SPDX-License-Identifier: GPL-2.0-only 2 3# Unlike the kernel space, exported headers are written in standard C. 4# - Forbid C++ style comments 5# - Use '__inline__', '__asm__' instead of 'inline', 'asm' 6# 7# -std=c90 (equivalent to -ansi) catches the violation of those. 8# We cannot go as far as adding -Wpedantic since it emits too many warnings. 9UAPI_CFLAGS := -std=c90 -Wall -Werror=implicit-function-declaration 10 11override c_flags = $(UAPI_CFLAGS) -Wp,-MD,$(depfile) -I$(objtree)/usr/include 12 13# The following are excluded for now because they fail to build. 14# 15# Do not add a new header to the blacklist without legitimate reason. 16# Please consider to fix the header first. 17# 18# Sorted alphabetically. | 1# SPDX-License-Identifier: GPL-2.0-only 2 3# Unlike the kernel space, exported headers are written in standard C. 4# - Forbid C++ style comments 5# - Use '__inline__', '__asm__' instead of 'inline', 'asm' 6# 7# -std=c90 (equivalent to -ansi) catches the violation of those. 8# We cannot go as far as adding -Wpedantic since it emits too many warnings. 9UAPI_CFLAGS := -std=c90 -Wall -Werror=implicit-function-declaration 10 11override c_flags = $(UAPI_CFLAGS) -Wp,-MD,$(depfile) -I$(objtree)/usr/include 12 13# The following are excluded for now because they fail to build. 14# 15# Do not add a new header to the blacklist without legitimate reason. 16# Please consider to fix the header first. 17# 18# Sorted alphabetically. |
19header-test- += asm/sembuf.h | |
20header-test- += asm/shmbuf.h 21header-test- += asm/signal.h 22header-test- += asm/ucontext.h 23header-test- += drm/vmwgfx_drm.h 24header-test- += linux/am437x-vpfe.h 25header-test- += linux/android/binder.h 26header-test- += linux/android/binderfs.h 27header-test- += linux/coda.h --- 80 unchanged lines hidden --- | 19header-test- += asm/shmbuf.h 20header-test- += asm/signal.h 21header-test- += asm/ucontext.h 22header-test- += drm/vmwgfx_drm.h 23header-test- += linux/am437x-vpfe.h 24header-test- += linux/android/binder.h 25header-test- += linux/android/binderfs.h 26header-test- += linux/coda.h --- 80 unchanged lines hidden --- |