Re: How to run sparse tool?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks. 'make allmodconfig' works.
But before your answer, I am able to build and there is a .config
file. But why 'make C=2 drivers/staging/wlan-ng/' decide to build
config again ?



On Thu, Mar 13, 2014 at 11:00 AM, Sam Ravnborg <sam@xxxxxxxxxxxx> wrote:
> Hi Michael.
>
> On Thu, Mar 13, 2014 at 09:49:48AM -0700, m silverstri wrote:
>> Hi,
>>
>> I read http://kernelnewbies.org/Sparse and try to run sparse tool.
>>
>> As a test, I run it on raspberry-pi/linux code base, by doing " make
>> C=2 drivers/staging/wlan-ng/", what I get is it asks me a list of
>> configuration question and it does not run sparse for me. How can I
>> bypass this setting up configuration and run sparse for the code?
>
> You cannot build the kernel source before the kernel is properly configured.
> You can use one of the shortcuts if you just want to build test this:
>
>     make allyesconfig
>
>        or
>
>    make allmodconfig
>
> This will configure your kernel and allow you to build the wlan-ng/
> drivers.
> And when you can build the drivers then you can also run sparse.
>
>         Sam
--
To unsubscribe from this list: send the line "unsubscribe linux-sparse" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Newbies FAQ]     [LKML]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Trinity Fuzzer Tool]

  Powered by Linux