This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Questions on creating a makefile
- To: Tim Michals <tim at cygnetinc dot com>
- Subject: Re: [ECOS] Questions on creating a makefile
- From: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Date: Wed, 26 Jan 2000 21:00:01 +0000
- CC: ecos-discuss at sourceware dot cygnus dot com
- Organization: Red Hat UK Ltd.
- References: <003901bf6836$753e67d0$0b01010a@cygnetinc.com>
> Tim Michals wrote:
>
> I'm confused on how create a new application. I created a application
> directory and downloaded several of the test applications to test the
> board and OS. Now I would like to create my own rom application. I having
> some confusion on how to use the existing makefiles to create my new
> application. Can anyone provided a sample makefile?
First, to build a ROM image, you need to change the startup type of eCos.
You can do this in the graphical Configuration tool by changing the Startup
type listed under the HAL in question. Or if you are using pkgconf.tcl,
simply reinvoke it in the same build tree with "--startup rom".
As for the sample makefile, you can start with the one in the examples/
directory of the eCos installation, although it isn't perfect by any stretch
of the imagination.
Is that the type of answer you are looking for?
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"I used to have an open mind but || Get yer free open source RTOS's here...
my brains kept falling out." || http://sourceware.cygnus.com/ecos
Help fight spam! http://spam.abuse.net/ These opinions are all my own fault