Makefiles

James Yates j.yates at quartzuk.com
Mon Oct 25 13:18:24 UTC 2004


I am currently using RTEMS on a custom platform which is fully working
and I am very pleased with results. I have a problem though. I am
building my application and linking it against RTEMS and all is lovely.
However, my default CFLAGS has level 1 optimisation turned on, but I
want to compile a couple of source files with no optimisation. Can
anyone suggest how I can modify my makefiles to accomadate this since
the optimisation flag in CFLAGS comes from the BSP. I thought of
specifying, in my application makefile, something like a
NON_OPT_C_PIECES which could be compiled slightly differently, but I am
unsure about how to make the low level RTEMS makefile infrastructure
include this within the build. Can anyone help?


	many thanks in advance.

		James Yates





More information about the users mailing list