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]

 



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~

[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