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

Ulf Samuelsson ulf at atmel.com
Tue Jan 23 23:53:53 UTC 2007

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 believe that TARGET_CFLAGS needs to include the Linux Include
Directory or you will get compolie time errors.
Don't have a clean patch for that yet, but this is what I do:


should be changed to


Best Regards
Ulf Samuelsson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: target_flags.patch
Type: text/x-patch
Size: 19474 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20070124/0deebaf0/attachment-0003.bin>

More information about the buildroot mailing list