diff options
author | viro@ZenIV.linux.org.uk <viro@ZenIV.linux.org.uk> | 2005-09-09 21:14:35 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2005-09-10 14:15:37 +0200 |
commit | 7b49bb9aff8b14d15da58111d8908c877c0a525e (patch) | |
tree | c5c578473fdf7fa2469fb11d8fd0e850176f1873 /Makefile | |
parent | 6d12884259ac65f74538b7819f5fadf4ebb0d569 (diff) | |
download | op-kernel-dev-7b49bb9aff8b14d15da58111d8908c877c0a525e.zip op-kernel-dev-7b49bb9aff8b14d15da58111d8908c877c0a525e.tar.gz |
[PATCH] kbuild: CF=<arguments> passes arguments to sparse
Allows to add to sparse arguments without mutilating makefiles - just
pass CF=<arguments> and they will be added to CHECKFLAGS.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |