[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some BSP questions



  I'm running into a few problems moving my BSP from 4.0.0 to 4.5.0.
Perhaps someone can help.

  First, some question regarding conventions.  In the "BSP and Device
Driver Development Guide" dated May 2000, there is some discussion
regarding the need to provide a "Makefile.in" in each BSP directory.
Looking at all the m68k BSP directories which beta3a tree, however,
I don't find any "Makefile.in" files at all, but do find "Makefile.am"
files instead.  I can manually run automake to generate the former,
and it appears this is what "bit_rtems" does as well.  Am I correct
in assuming that the docuementation is just a bit out of date, and
that future editions will reference "Makefile.am" in place of
"Makefile.in"?

  Using the "Makefile.am" files from efi332 as a starting point, I
created a set of these files for my BSP.  Running "bit_rtems", I'm
getting the errors shown below, and haven't been able to determine
the source of the error.  At the comparable point during the efi332
build, note the difference in the path to the configure script.
I've done a search for all files in the source tree which contain
references to "efi332" and don't find anything which looks out of
place, but can't get past this problem.  If someone can tell me
where the path to the configure script which is not being found
gets set, I can probably take it from there.  I presume it's in
"libbsp", but don't see anything there which looks obvious.

(One note; I read Ralf's "MERGE.PROCEDURE", but it again references
"Makefile.in" files which no longer exist in that tree.  Or do I
need to manually run autoconf followed by acpolish?)

  Any assistance will be most appreciated.

					-- MC --

-----------------------------------------------------------------------------
  From "efi332" logs, line 659:

configuring in libbsp
running /bin/sh ../../../../../../4.5.0-beta3a/c/src/lib/libbsp/configure  --tar
get=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessi
ng --enable-cxx --disable-rdbg --disable-tests --disable-networking --enable-pos
ix --disable-itron --with-target-subdir=m68k-rtems --cache-file=../.././config.c
ache --srcdir=../../../../../../4.5.0-beta3a/c/src/lib/libbsp
loading cache ../.././config.cache
checking for RTEMS Version... 4.5.0-beta3a   
checking host system type... i586-pc-linux-gnu
checking target system type... m68k-unknown-rtems
checking build system type... i586-pc-linux-gnu
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found   
checking whether to enable maintainer-specific portions of Makefiles... no
checking for m68k-rtems-gcc... (cached) /usr/local/bin/m68k-rtems-gcc
checking whether the C compiler (/usr/local/bin/m68k-rtems-gcc  ) works... yes
checking whether the C compiler (/usr/local/bin/m68k-rtems-gcc  ) is a cross-com
piler... yes
checking whether we are using GNU C... yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts -g... yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts -specs... (cached) yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts --pipe... (cached) yes
checking target's ar... (cached) /usr/local/rtems/m68k-rtems/bin/ar
checking target's as... (cached) /usr/local/rtems/m68k-rtems/bin/as
checking target's ld... (cached) /usr/local/rtems/m68k-rtems/bin/ld
checking target's nm... (cached) /usr/local/rtems/m68k-rtems/bin/nm
checking target's ranlib... (cached) /usr/local/rtems/m68k-rtems/bin/ranlib
checking target's objcopy... (cached) /usr/local/bin/m68k-rtems-objcopy
checking target's size... (cached) /usr/local/bin/m68k-rtems-size
checking target's strip... (cached) /usr/local/rtems/m68k-rtems/bin/strip
checking for RTEMS_BSP... (cached) efi332
checking if cpu m68k is supported... yes
checking for make/custom/efi332.cfg... yes
checking whether BSP supports multiprocessing... (cached) no
creating ./config.status
creating Makefile
creating shmdr/Makefile
configuring in m68k
running /bin/sh ../../../../../../../4.5.0-beta3a/c/src/lib/libbsp/m68k/configur
e  --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multi
processing --enable-cxx --disable-rdbg --disable-tests --disable-networking --en
able-posix --disable-itron --with-target-subdir=m68k-rtems --cache-file=../../..
/./config.cache --srcdir=../../../../../../../4.5.0-beta3a/c/src/lib/libbsp/m68k
loading cache ../../.././config.cache 


-----------------------------------------------------------------------------
  From "lz120" logs, line 659:

configuring in libbsp
running /bin/sh ../../../../../../4.5.0-beta3a/c/src/lib/libbsp/configure  --tar
get=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-multiprocessi
ng --enable-cxx --disable-rdbg --disable-tests --disable-networking --enable-pos
ix --disable-itron --with-target-subdir=m68k-rtems --cache-file=../.././config.c
ache --srcdir=../../../../../../4.5.0-beta3a/c/src/lib/libbsp
loading cache ../.././config.cache
checking for RTEMS Version... 4.5.0-beta3a
checking host system type... i586-pc-linux-gnu
checking target system type... m68k-unknown-rtems
checking build system type... i586-pc-linux-gnu
checking rtems target cpu... m68k
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for m68k-rtems-gcc... (cached) /usr/local/bin/m68k-rtems-gcc
checking whether the C compiler (/usr/local/bin/m68k-rtems-gcc  ) works... yes
checking whether the C compiler (/usr/local/bin/m68k-rtems-gcc  ) is a cross-com
piler... yes
checking whether we are using GNU C... yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts -g... yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts -specs... (cached) yes
checking whether /usr/local/bin/m68k-rtems-gcc accepts --pipe... (cached) yes
checking target's ar... (cached) /usr/local/rtems/m68k-rtems/bin/ar
checking target's as... (cached) /usr/local/rtems/m68k-rtems/bin/as
checking target's ld... (cached) /usr/local/rtems/m68k-rtems/bin/ld
checking target's nm... (cached) /usr/local/rtems/m68k-rtems/bin/nm
checking target's ranlib... (cached) /usr/local/rtems/m68k-rtems/bin/ranlib
checking target's objcopy... (cached) /usr/local/bin/m68k-rtems-objcopy
checking target's size... (cached) /usr/local/bin/m68k-rtems-size
checking target's strip... (cached) /usr/local/rtems/m68k-rtems/bin/strip
checking for RTEMS_BSP... (cached) lz120
checking if cpu m68k is supported... yes
checking for make/custom/lz120.cfg... yes
checking whether BSP supports multiprocessing... (cached) no
creating ./config.status
creating Makefile
creating shmdr/Makefile
configuring in m68k
running /bin/sh ../../../../../../4.5.0-beta3a/c/src/lib/libbsp/../../../../conf
igure  --target=m68k-rtems --prefix=/usr/local/rtems --disable-hwapi --disable-m
ultiprocessing --enable-cxx --disable-rdbg --disable-tests --disable-networking
--enable-posix --disable-itron --with-target-subdir=m68k-rtems --cache-file=../.
./.././config.cache --srcdir=../../../../../../../4.5.0-beta3a/c/src/lib/libbsp/
m68k
../../../../../../4.5.0-beta3a/c/src/lib/libbsp/../../../../configure: ../../../
../../../4.5.0-beta3a/c/src/lib/libbsp/../../../../configure: No such file or di
rectory
--
mcollins at wdc.sps.mot.com