This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: redboot specific build options
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Mark Salter <msalter at redhat dot com>
- Cc: aarichar at cisco dot com, ecos-discuss at sources dot redhat dot com
- Date: Wed, 02 Jul 2003 03:53:51 +0100
- Subject: Re: [ECOS] redboot specific build options
- References: <200306301500.19148.aarichar@cisco.com> <20030630201437.3950A78859@deneb.localdomain>
Mark Salter wrote:
Aaron Richardson writes:
How would I go about adding a build specific option?
I want to add this to the gcc command line only when I do a redboot build
-D REDBOOT_BUILD
any idea how to do this?
Couldn't you use CYGPKG_REDBOOT defined in <pkgconf/system.h>?
(One could argue that should be CYGBLD_BUILD_REDBOOT really... otherwise
it's not clear what that option serves to do!).
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss