Re: kernel Makefile- help needed

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

 





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

[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