projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d12884
)
[PATCH] kbuild: CF=<arguments> passes arguments to sparse
author
viro@ZenIV.linux.org.uk
<viro@ZenIV.linux.org.uk>
Fri, 9 Sep 2005 20:14:35 +0000
(21:14 +0100)
committer
Sam Ravnborg
<sam@mars.ravnborg.org>
Sat, 10 Sep 2005 12:15:37 +0000
(14:15 +0200)
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>
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 0d0576a622bfd770c259e38b3f3a8a2c2d7f4883..6a405882b1f7e88e145a3de3e55e2e819143acaa 100644
(file)
--- 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)