Re: kernel Makefile- help needed

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

 



Gotta think before sending a mail to a global list... :)

-Jared

On 4/11/06, Arun Srinivasan <arunlkml@xxxxxxxxx> wrote:
>
>
>
> On 4/11/06, Jared Greenwald < greenwaldjared@xxxxxxxxx> wrote:
> > Don't you want:
> >
> > CFLAGS+=-D$(TOPDIR)/Mydir/include
>
>
> Thanks but CMIIW.  I suppose the -D  is  the list of debug flags and dosent
> affect  the  include path...specified by "-I"
>
> Anyway, I got my compilation done. The mistake(rather silly!!) I made was by
> mentioning
> CPPFLAGS += -I$(TOPDIR)/Mydir/include
>
> and in my source files I added the headers as :
> #include <Mydir/include/xyz.h>
>
>
>
> --
>
> "There are 10 people in the world - those who understand binary and those
> who dont !"

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