Re: who defines __KERNEL__ ?

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

 



Hi Vegard,

On 12/12/07, Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:
> On Dec 12, 2007 9:26 AM, Ramagudi Naziir <naziirr@xxxxxxxxx> wrote:
...
> > Or does it gets defined automatically by kbuild ?
>
> $ grep __KERNEL__ Makefile
> KBUILD_CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)

Thanks !

Just to be sure - these KBUILD_CPPFLAGS are added anytime my source
will be compiled, no matter if the user chose M or y ?

Thank you very much
naziir

--
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