public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: "Mike Arthur" <arth2219@gmail.com>
To: ecos-discuss@ecos.sourceware.org
Subject: [ECOS] How to modify CFLAGS within an ECM file?
Date: Tue, 11 Sep 2007 22:54:00 -0000	[thread overview]
Message-ID: <2a3305fe0709111554x64de173ej3b684623610db101@mail.gmail.com> (raw)

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

             reply	other threads:[~2007-09-11 22:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 22:54 Mike Arthur [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2a3305fe0709111554x64de173ej3b684623610db101@mail.gmail.com \
    --to=arth2219@gmail.com \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).