This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: redboot specific build options


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]