From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19994 invoked by alias); 11 Sep 2007 22:54:48 -0000 Received: (qmail 19986 invoked by uid 22791); 11 Sep 2007 22:54:47 -0000 X-Spam-Check-By: sourceware.org Received: from rv-out-0910.google.com (HELO rv-out-0910.google.com) (209.85.198.184) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Sep 2007 22:54:43 +0000 Received: by rv-out-0910.google.com with SMTP id c27so16643rvf for ; Tue, 11 Sep 2007 15:54:41 -0700 (PDT) Received: by 10.141.132.8 with SMTP id j8mr1576992rvn.1189551273988; Tue, 11 Sep 2007 15:54:33 -0700 (PDT) Received: by 10.141.156.14 with HTTP; Tue, 11 Sep 2007 15:54:33 -0700 (PDT) Message-ID: <2a3305fe0709111554x64de173ej3b684623610db101@mail.gmail.com> Date: Tue, 11 Sep 2007 22:54:00 -0000 From: "Mike Arthur" To: ecos-discuss@ecos.sourceware.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] How to modify CFLAGS within an ECM file? X-SW-Source: 2007-09/txt/msg00061.txt.bz2 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