Makefiles

Jay Monkman jtm-list-rtems at smoothsmoothie.com
Mon Oct 25 16:18:27 UTC 2004


On Mon, Oct 25, 2004 at 04:42:29PM +0100, James Yates wrote:
> This is for RTEMS 4.6.0.
> 
>    This would be a nice thing to have on a permanent basis. Inside my
> makefile I have a CFLAGS+=  line. When I added -O0 to it, my rtems app
> seemed to fail to work. I didn't bother investigating this perhaps I
> should have.
> 
> Can I then change CFLAGS+=  to CFLAGS =  and use completely different
> flags in building the app to when I built RTEMS.

Are you using something like the template Makefile.leaf?

If so, you can modify/overwrite CFLAGS after the lines:
   include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
   include $(RTEMS_CUSTOM)
   include $(RTEMS_ROOT)/make/leaf.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.rtems.org/pipermail/users/attachments/20041025/6cf353f3/attachment.bin>


More information about the users mailing list