Re: How to define a macro in Makefile when making 2.6 kernel module ????

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

 



 I think you can make configuration CONFIG_DEBUG_INFO.
OR u can configure particular component to debug by changing the
configuration file.

2009/4/18 Prashant Bhole <prashantsmailcenter@xxxxxxxxx>:
> Sorry for typing mistakes.The example is as follows:
>
> EXTRA_CFLAGS := "-g"
>
> On Sat, Apr 18, 2009 at 3:48 PM, Prashant Bhole
> <prashantsmailcenter@xxxxxxxxx> wrote:
>>
>> Use add your extra compiler options in EXTRA_CLAGS.
>> e.g.
>> EXTRA_FLAGS := "-g"
>>
>>
>> 2009/4/18 yihect <yihect@xxxxxxx>
>>>
>>> I want to add a macro in module makefile, with which I can enable or
>>> disable debugging, but
>>> how to do it, the CFLAGS seems can't work. Thanks.
>>
>>
>> --
>> ~p~r~a~s~h~a~n~t~
>
>
>
> --
> ~p~r~a~s~h~a~n~t~
>

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux