Rtems Rebuild Remake Question

Bill Butler(test) billb at tnex.com
Fri Mar 8 14:00:37 UTC 2002


No I don't believe that the 5307 was ported over with 4.5.0, at least it
was not in the main distrubtion.. I had to modify it.. But I was having
trouble with the mcf5307elite, which was included.

But... I got it to work now.

I believe this is what I had to do to make it work. You know how things
go.. you try several things, and retry and finally it works.. Now what
was it that fixed it?

1st. the Makefile.in is copied over on "make all" in the build directory
not on configure. I was unsure about this.

2nd. I had to touch the main Makefile.am in the root directory of the
BSP. I believe this is because the build looked at the bsp directory and
thought it was up to date (dependence problem?). By changing the Main
makefile, it re-ran it which in turn copied the lower
"start/Makefile.in" over from the src directory.

Ps. if you want the somewhat complete (no networking) sbc5307 /
mcf5307C3 bsp let me know.. but remember I'm a Unix mental midget so
there is little hope of me doing a diff for ya unless you point me to a
page that explains what to do :) 


Bill Butler
AIPCom Inc
972-644-2328 x16
bbill at tnex.com
 

-----Original Message-----
From: Ian Caddy [mailto:ianc at microsol.iinet.net.au] 
Sent: Thursday, March 07, 2002 8:29 PM
To: joel.sherrill at OARcorp.com
Cc: Bill Butler; 'Ralf Corsepius'; 'RTEMS Users'
Subject: Re: Rtems Rebuild Remake Question

Hi Joel,

I think the 5307 BSP that Bill was talking about was the one the we
ported
over to 4.5.0 from Fiddes original one.

We have had no problems with it under 4.5.0, although we did copy it
over to a
custom BSP and have since been changing it.

Bill, does this process work OK when you use the 4.5.0 release, or is it
broken for that release also?


Ian Caddy


Joel Sherrill wrote:

>
> I suspect that what you are running into is that David Fiddes' BSP is
> based upon an old RTEMS version which is before we began using
automake.
> You will need to switch to Makefile.am's in order to merge into the
> current BSP.  I suggest using the Makefile.am's from the mcf5206elite
> and modifying them to match the files in the sbc5307.  bootstrap is
> trying to generate Makefile.am's from Makefile.in's at development
> time.  configure generates Makefile's from Makefile.in's at build
time.
>
> [NOTE: This is actually covered much better in the class than in the
> written documentation.]
>

<snip>

--

ianc at microsol.iinet.net.au
Microsol (Aust) Pty Ltd

Phone: (+61) 08 9473 6600
Fax:   (+61) 08 9473 6699






More information about the users mailing list