public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: Mike Arthur <arth2219@gmail.com>
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] How to modify CFLAGS within an ECM file?
Date: Wed, 12 Sep 2007 07:01:00 -0000	[thread overview]
Message-ID: <20070912070054.GQ3557@lunn.ch> (raw)
In-Reply-To: <2a3305fe0709111554x64de173ej3b684623610db101@mail.gmail.com>

On Tue, Sep 11, 2007 at 05:54:33PM -0500, Mike Arthur wrote:
> 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?

Take a look at:

http://ecos.sourceware.org/docs-latest/cdl-guide/language.values.html

In particular the first example after the table of operators, the
example in the section Functions, and the documentation for is_substr()

        Andrew

-- 
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-12  7:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-11 22:54 Mike Arthur
2007-09-12  7:01 ` Andrew Lunn [this message]
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=20070912070054.GQ3557@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=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).