> On 14 Nov 2022, at 16:25, Anthony PERARD <anthony.per...@citrix.com> wrote:
> 
> On Mon, Nov 07, 2022 at 10:47:36AM +0000, Luca Fancellu wrote:
>> xen/Makefile                            |  50 ++++++-
> 
> Hi Luca,

Hi,

> 
> Could you write a shell script which would probably be easier to
> read/modify than this rather complicated looking set of Makefile rules?

I admit the rules are a bit complicated

> 
> As I see it, a potential `analysis` shell script would have a single
> interaction with make, it would just have to run `make build
> CC=cppcheck-gcc` or other.
> 
> Because I don't see how make is useful in this case. Or maybe you could
> explain how writing this in make help?
> Also non of this would work with out-of-tree builds, as you shouldn't
> make modification to the source tree.

They both are good points, I will rewrite the rules as a script.

> 
> Cheers,
> 
> -- 
> Anthony PERARD


Reply via email to