Re: [PATCH 2/7] kbuild: Add P= command line flag to run checkpatch

From: Joe Perches
Date: Tue Nov 21 2017 - 15:03:15 EST


On Tue, 2017-11-21 at 12:48 -0700, Jim Davis wrote:
> On Tue, Nov 21, 2017 at 1:10 AM, Knut Omang <knut.omang@xxxxxxxxxx> wrote:
>
> > Would you like to keep the checkpatch changes in some form, or would you rather
> > see everything happening in the wrapper?
>
> I don't have a strong preference one way or another, but keeping
> everything in a wrapper script might be easier if only because you
> wouldn't need to get signoffs from whoever maintains checkpatch too.

Keeping everything in a wrapper script would also allow
any arbitrary checker to be run with minimal changes to
the Makefile/build subsystem.