[Buildroot] [PATCH] Set CFLAGS = $(TARGET_CFLAGS) for many packages

Bernhard Fischer rep.dot.nop at gmail.com
Wed Jan 24 23:23:49 UTC 2007


On Wed, Jan 24, 2007 at 12:53:53AM +0100, Ulf Samuelsson wrote:
>If you make Buildroot from scratch, CFLAGS gets set during the build,
>but if you add packages later, then CFLAGS should be set in the
>makefile fragment of the new package.

I don't understand what you mean here. Please elaborate
>
>I believe that TARGET_CFLAGS needs to include the Linux Include
>Directory or you will get compolie time errors.

I don't have the linux include in my TARGET_CFLAGS AFAIK and do not get
compile errors. What kernel-headers are you using? What errors are you
seeing with what package?



More information about the buildroot mailing list