diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-10 18:10:59 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2000-01-10 18:10:59 +0000 |
commit | 362ec23ed72f6fedb1cc78dc867727a75552d9e2 (patch) | |
tree | 7e42e44b17a9bba1644c218cb9a4873c683251e0 /c/src/lib/libbsp/powerpc/score603e | |
parent | Removed reference to Radstone PPCN. (diff) | |
download | rtems-362ec23ed72f6fedb1cc78dc867727a75552d9e2.tar.bz2 |
Patch rtems-rc-20000104-12.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>
which converts the PowerPC BSPs to configuration and more automake.
* Besides adding partial automake support, rsp converting all powerpc
BSPs to make them compliant to the new configuration scheme, this patch
attempts to fix several configuration bugs in powerpc related Makefiles.
Diffstat (limited to 'c/src/lib/libbsp/powerpc/score603e')
12 files changed, 92 insertions, 23 deletions
diff --git a/c/src/lib/libbsp/powerpc/score603e/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/Makefile.in index 49e9ace7d7..8457c048dd 100644 --- a/c/src/lib/libbsp/powerpc/score603e/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/Makefile.in @@ -5,8 +5,12 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../.. -subdir = powerpc/score603e +top_builddir = . + +ACLOCAL = aclocal +AUTOCONF = autoconf +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 +ACLOCAL_AMFLAGS = -I @RTEMS_TOPdir@/aclocal RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ @@ -29,4 +33,12 @@ SUBDIRS = include clock console startup start timer tod PCI_bus vectors \ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status cd $(top_builddir) \ - && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status + && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status + +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in + cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS) + +config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) + $(SHELL) ./config.status --recheck +$(srcdir)/configure: @MAINTAINER_MODE_TRUE@$(srcdir)/configure.in $(ACLOCAL_M4) + cd $(srcdir) && $(AUTOCONF) diff --git a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in index a1fe511540..5bd277aa98 100644 --- a/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/PCI_bus/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/PCI_bus +top_builddir = .. +subdir = PCI_bus RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in index 24841d653f..0824086899 100644 --- a/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/clock/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/clock +top_builddir = .. +subdir = clock RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/configure.in b/c/src/lib/libbsp/powerpc/score603e/configure.in new file mode 100644 index 0000000000..0b6351347d --- /dev/null +++ b/c/src/lib/libbsp/powerpc/score603e/configure.in @@ -0,0 +1,57 @@ +dnl Process this file with autoconf to produce a configure script. +dnl +dnl $Id$ + +AC_PREREQ(2.13) +AC_INIT(bsp_specs) +RTEMS_TOP(../../../../../..) +AC_CONFIG_AUX_DIR(../../../../../..) + +RTEMS_CANONICAL_TARGET_CPU +AC_PROG_MAKE_SET +AC_PROG_INSTALL +AM_MAINTAINER_MODE + +RTEMS_ENABLE_MULTIPROCESSING +RTEMS_ENABLE_NETWORKING +RTEMS_ENABLE_LIBCDIR + +RTEMS_ENV_RTEMSBSP + +RTEMS_CHECK_CPU +RTEMS_CANONICAL_HOST + +RTEMS_PROJECT_ROOT + +dnl check target cc +RTEMS_PROG_CC_FOR_TARGET +RTEMS_CANONICALIZE_TOOLS + +RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) +RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) +RTEMS_CHECK_NETWORKING(RTEMS_BSP) + +# find all the Makefiles for the BSPs +RTEMS_CHECK_MAKEFILE(.) + +# HACK: sed out bsp-tools from makefiles +t="tools" +if test -d "$srcdir/$t"; then + bsptools_cfgdirs="$bsptools_cfgdirs $t" + makefiles=`echo "$makefiles" | sed -e "s%.*$t/.*Makefile%%g"` +fi + +if test "$HAS_MP" = "yes"; then +: +else + # HACK: sed out shmsupp/Makefile from makefiles + t="shmsupp" + makefiles=`echo "$makefiles" | sed -e "s%.*$t/.*Makefile%%g"` +fi +AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes") + +AC_CONFIG_SUBDIRS($bsptools_cfgdirs) + +# try to explicitly list a Makefile here +AC_OUTPUT( +$makefiles) diff --git a/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in index cc08bc74a1..bb551f86cc 100644 --- a/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/console/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/console +top_builddir = .. +subdir = console RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/include/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/include/Makefile.in index 9364d3ef8f..7d687fab5a 100644 --- a/c/src/lib/libbsp/powerpc/score603e/include/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/include/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/include +top_builddir = .. +subdir = include RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/start/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/start/Makefile.in index 50fecbef8e..e22c3d3ba7 100644 --- a/c/src/lib/libbsp/powerpc/score603e/start/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/start/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/start +top_builddir = .. +subdir = start RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in index 9e0fa62c4c..8d8482f605 100644 --- a/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/startup/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/startup +top_builddir = .. +subdir = startup RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in index a0c030a008..0058c8e5db 100644 --- a/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/timer/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/timer +top_builddir = .. +subdir = timer RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in index acdbe1f105..8f229e5910 100644 --- a/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/tod/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/tod +top_builddir = .. +subdir = tod RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in index dd1875cee5..3ce208fac7 100644 --- a/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/vectors/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/vectors +top_builddir = .. +subdir = vectors RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ diff --git a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in index 4d6988d22c..75ca10c81d 100644 --- a/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in +++ b/c/src/lib/libbsp/powerpc/score603e/wrapup/Makefile.in @@ -5,8 +5,8 @@ @SET_MAKE@ srcdir = @srcdir@ top_srcdir = @top_srcdir@ -top_builddir = ../../.. -subdir = powerpc/score603e/wrapup +top_builddir = .. +subdir = wrapup RTEMS_ROOT = @RTEMS_ROOT@ PROJECT_ROOT = @PROJECT_ROOT@ |