[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170509201714.GA24001@infradead.org>
Date: Tue, 9 May 2017 13:17:14 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Randy Dunlap <rdunlap@...radead.org>
Cc: linux-kbuild <linux-kbuild@...r.kernel.org>,
Dan Carpenter <dan.carpenter@...cle.com>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: sparse on scripts/kconfig/*.c
On Tue, May 09, 2017 at 09:47:41AM -0700, Randy Dunlap wrote:
> Hi,
>
> I've been attempting to run sparse on the kconfig/ C files -- without success.
>
> The kbuild files don't try to support CHECK in scripts/kconfig/ AFAICT,
> and just running sparse on the C files has issues with not being able to
> find header files.
>
> Has anyone done this? Any clues about how to do it?
As a wild guess from using sparse on various userspace projects:
have you tried simply setting HOSTCC to cgcc?
Powered by blists - more mailing lists