Compiling a file without O2 in linux kernel

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

 



I want to add a file in kernel tree but want to compile it without O2.

For example, if I add a file tmp.c in net/core/ directory and modify
net/core/Makefile obj list, tmp.c is compiled but with all default
options which include O2 also.

How can I edit net/core/Makefile to compile tmp.c without O2?

Regards,
Ram

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