This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Rebuilding using ecosconfig (plain text)
- To: Robert Cragie <rcc at jennic dot com>
- Subject: Re: [ECOS] Rebuilding using ecosconfig (plain text)
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Fri, 03 Nov 2000 03:42:28 +0000
- CC: ecos-discuss at sources dot redhat dot com
- Organization: Red Hat UK Ltd.
- References: <NDBBLOIOMLKELOJBAPAGEELCCBAA.rcc@jennic.com>
Robert Cragie wrote:
[building cygmon]
> This works fine. However, if I update either the ecos.ecc file, or any of
> the sources in the repository, the output from make seems to show them being
> rebuilt (I haven't studied it carefully), but the image files do not seem to
> change. They do not seem to change even if I do a 'make clean; make' at the
> top The only way I seem to be able to rebuild properly is by deleting the
> whole tree except for ecos.ecc, touching ecos.ecc and starting again from
> 'ecosconfig tree'. Surely the build system should be able to be a bit
> cleverer about dependencies? Or am I missing something?
Sorry it took so long to get back on this. It is a dependency problem on
cygmon. Add these extra dependencies to the make rule in
CYGBLD_BUILD_CYGMON in packages/cygmon/VERSION/cdl/cygmon.cdl (i.e. at end
of the very long line beginning <PREFIX>/bin/cygmon.elf)
$(PREFIX)/lib/target.ld $(PREFIX)/lib/vectors.o $(PREFIX)/lib/libtarget.a
$(PREFIX)/lib/libextras.a
I've also applied this to our CVS repository.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault