Messages in this thread | | | Date | Wed, 08 May 2013 10:44:06 -0700 | From | Randy Dunlap <> | Subject | Re: [PATCH] Makefile: make sparse (CHECK) user-selectable |
| |
On 05/08/13 08:23, Phil Carmody wrote: > I've got a tweaked version as well as the system default, > so make the sparse binary that's run user-selectable. >
I'm confused about why this patch is necessary since I already do
$ make O=builddir CHECK=/path/to/sparse all
> Signed-off-by: Phil Carmody <pc+lkml@asdf.org> > --- > Makefile | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/Makefile b/Makefile > index a3a834b..e7a4851 100644 > --- a/Makefile > +++ b/Makefile > @@ -338,7 +338,9 @@ GENKSYMS = scripts/genksyms/genksyms > INSTALLKERNEL := installkernel > DEPMOD = /sbin/depmod > PERL = perl > -CHECK = sparse > +ifndef CHECK > + CHECK = sparse > +endif > > CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ > -Wbitwise -Wno-return-void $(CF) >
-- ~Randy
| |