Re: altering CFLAGS in kbuild (makefile)?

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

 



On 7/22/06, Om. <om.turyx@xxxxxxxxx> wrote:
Hi,
By adding V=1 incommand line, I could see the flags passed to gcc
(CFLAGS) while compiling my module. Now I want to add -E to the CFLAGS
and see the preprocessed output. How can I do this?
Hmm.. I got a method.
I copied the compilation line from the make V=1, added -E and ran from
src/linux-2.6 and redirected the output to another file. I would like
to know a better way for doing this.

Regards,
Om.

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           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