more bsp question (was Bsp and CPU porting )

Feng, Shuchen feng at bnl.gov
Wed Nov 19 18:23:41 UTC 2003


On  Wed, 5 Nov 2003 10:13:03 -0600  Jay Monkman  wrote :

>Did you add your CPU to libcpu/sh/configure.ac and your BSP to
>libbsp/sh/acinclude.m4? After modifying those files, you need to run
>bootstrap.
>Before running bootstrap, make sure you have the right versions of
automake
>and autoconf. Then, while in the libcpu/sh and libbsp/sh directories,
>run '../../../../../bootstrap -c' and '../../../../../bootstrap'

I  installed the autoconf-2.57 and  automake-1.7.6 on my RedaHat 7.3,
which I got from the RTEMS site.  The RTEMS release is the
rtems-4.6.0pre3.

It seems that it went  fine (no message)  with the  libcpu/powerpc.
However,   '../../../../../bootstrap' only  ran through the original BSP

even though,  in the libbsp/powerpc/acinclude.m4, I had added  :

  mvme5500 )
    AC_CONFIG_SUBDIRS([mvme5500]);;

Not knowing where RTEMS_BSP_FAMILY is defined.
I  (blindly) added  "RTEMS_BSP_FAMILY + = mvme5500"
in the  libbsp/powerpc/Makefile.am so that
bootstrap can see it.  However, it seems that it does not make a
difference.  I still got  the same error message :

gmake[6]: Entering directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
gmake[6]: Nothing to be done for `preinstall-am'.
gmake[6]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
Making preinstall in include
gmake[6]: Entering directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec/include'
../../../../../../rtems-4.6.0pre3/c/src/../../cpukit/[]/mkinstalldirs:
../../../../../../rtems-4.6.0pre3/c/src/../../cpukit/[]/mkinstalldirs:
No such file or directory
gmake[6]: *** [../../../../mvme5500/lib/include] Error 127
gmake[6]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec/include'
gmake[5]: *** [preinstall-recursive] Error 1
gmake[5]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500/exec'
gmake[4]: *** [preinstall-recursive] Error 1
gmake[4]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
gmake[3]: *** [preinstall-stamp] Error 2
gmake[3]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c/mvme5500'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/local/source/newRTEMS/build/ppc-rtems/c'
gmake: *** [all-recursive] Error 1


Did I miss any step ?

Thanks in advance,
Kate








More information about the users mailing list