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-Tag: v2.6.14-rc1~129^2~5 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b49bb9aff8b14d15da58111d8908c877c0a525e;p=linux-2.6 [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 0d0576a622..6a405882b1 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)