public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to modify CFLAGS within an ECM file?
@ 2007-09-11 22:54 Mike Arthur
  2007-09-12  7:01 ` Andrew Lunn
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Mike Arthur @ 2007-09-11 22:54 UTC (permalink / raw)
  To: ecos-discuss

Is there a way to adjust CFLAGS within an ECM file?  I want to be able
to adjust the optimization levels of configurations, without changing
the rest of the CFLAGS when using ecosconfig.  I don't want to have to
hand edit the .ecc file.

This is an example of what I want to do:
$ ecosconfig new pc_rltk8139
$ ecosconfig import file_that_modifies_optimization_to_O0.ecm
$ ecosconfig tree
$ make

Now the 'pc_rltk8139' target would be built with -O0 optimization. I
don't know what the contents of "file_that_modifies_optimization.ecm"
would be.

Any suggestions?

Mike

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-09-12 18:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-11 22:54 [ECOS] How to modify CFLAGS within an ECM file? Mike Arthur
2007-09-12  7:01 ` Andrew Lunn
2007-09-12 17:12   ` Mike Arthur
2007-09-12 18:02     ` Andrew Lunn
2007-09-12 15:01 ` Sergei Gavrikov
2007-09-12 15:17 ` [ECOS] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).