From: viro@ZenIV.linux.org.uk Date: Fri, 9 Sep 2005 20:14:35 +0000 (+0100) Subject: [PATCH] kbuild: CF= passes arguments to sparse X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b49bb9aff8b14d15da58111d8908c877c0a525e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [PATCH] kbuild: CF= passes arguments to sparse Allows to add to sparse arguments without mutilating makefiles - just pass CF= and they will be added to CHECKFLAGS. Signed-off-by: Al Viro Signed-off-by: Sam Ravnborg --- diff --git a/Makefile b/Makefile index 0d0576a622bf..6a405882b1f7 100644 --- a/Makefile +++ b/Makefile @@ -334,7 +334,7 @@ KALLSYMS = scripts/kallsyms PERL = perl CHECK = sparse -CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ +CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ $(CF) MODFLAGS = -DMODULE CFLAGS_MODULE = $(MODFLAGS) AFLAGS_MODULE = $(MODFLAGS)