diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-05 03:29:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-10-05 03:29:04 -0700 |
commit | 189551650cc6f4b9c72f1035703829c72a7bf479 (patch) | |
tree | 8f7ffcdeb6861de9e34b2cdf0f44e7b3721a64b8 /Makefile | |
parent | 00a87a388cd7be2261d2bcc6ecc045d8681a5138 (diff) | |
download | history-189551650cc6f4b9c72f1035703829c72a7bf479.tar.gz |
Fix up CHECKFLAGS definitions
More recent versions of sparse do not define the Linux-specific
default defines, so we make the main Makefile default to the
regular Linux preprocessor defines (__linux__, linux, __STDC__
and unix, __unix__).
Also, sparse has long since fixed the default empty define to
be "1" as in regular C, so remove the unnecessary "=1" from
the architecture-specific sparse CHECKFLAGS.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 16c870f535f38b..1634ad5397fb3e 100644 --- a/Makefile +++ b/Makefile @@ -326,7 +326,7 @@ DEPMOD = /sbin/depmod KALLSYMS = scripts/kallsyms PERL = perl CHECK = sparse -CHECKFLAGS := +CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ MODFLAGS = -DMODULE CFLAGS_MODULE = $(MODFLAGS) AFLAGS_MODULE = $(MODFLAGS) |