Re: getting the same cflags

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

 





On 4/11/06, Jared Greenwald <greenwaldjared@xxxxxxxxx> wrote:
Another Makefile question...

Is there a way to easily grab the CFLAGS from the kernel Makefile to
use in a user space application?  The obvious would be to copy-paste,
but that would ignore all of the logic in the kernel Makefile that I
want to preserve.

But why would you want to use the kernel-specific defines for a user space program ?  If you need to use kernel headers , you can directly define them in your Makefile.

rgds
Arun


--
"There are 10 people in the world - those who understand binary and those who dont !"

[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