summaryrefslogtreecommitdiffstats
path: root/c/src/make
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-03 13:25:00 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-12-03 13:25:00 +0000
commit4090ebe85c7947db664c0839a2090d0076b7a9da (patch)
tree2b4da1cedd0f57025349b891bca545716fd37928 /c/src/make
parentPatch from Rosimildo DaSilva <rdasilva@connecttel.com> for Cygwin (diff)
downloadrtems-4090ebe85c7947db664c0839a2090d0076b7a9da.tar.bz2
Patch rtems-rc-19991123-rc-3.diff from Ralf Corsepius
<corsepiu@faw.uni-ulm.de>: The patch below provides * automake support for score/cpu/powerpc * The hack to propagate values from *.cfg to automake configuration * A fix for librdbg/powerpc/mcp750/Makefile.am (Was completely corrupted before) * Fixes some files which apparently where missing in rtems-rc-19991123-rc-2.diff * some minor configuration related patches To apply: rm -rf ./c/src/exec/score/cpu/powerpc/wrap patch -p1 < rtems-rc-19991123-rc-3.diff Attention: c/src/exec/score/cpu/[configure.in|aclocal.m4|configure] should be removed after applying the patch. Modifications had been made to the score/cpu/powerpc directory after the snapshot this was based on. In particular, the mpc750 and other_cpu directories had been renamed to new_exception_processing and old_exception_processing. After this patch was applied, modifications were made to account for this.
Diffstat (limited to 'c/src/make')
-rw-r--r--c/src/make/Makefile.am7
-rw-r--r--c/src/make/configure.in4
2 files changed, 10 insertions, 1 deletions
diff --git a/c/src/make/Makefile.am b/c/src/make/Makefile.am
index a149c4a3ac..01bac334d9 100644
--- a/c/src/make/Makefile.am
+++ b/c/src/make/Makefile.am
@@ -41,5 +41,12 @@ endif
SUBDIRS = compilers custom
+include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
+
+@RTEMS_BSP@.cache: Makefile
+ $(RM) $@
+ @echo rtems_cv_RTEMS_CPU_MODEL=\$${rtems_cv_RTEMS_CPU_MODEL=$(RTEMS_CPU_MODEL)} >> $@
+ @echo rtems_cv_RTEMS_BSP_FAMILY=\$${rtems_cv_RTEMS_BSP_FAMILY=$(RTEMS_BSP_FAMILY)} >> $@
+
include $(top_srcdir)/../../../automake/subdirs.am
include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/make/configure.in b/c/src/make/configure.in
index 01c9f0fc50..24068a65bf 100644
--- a/c/src/make/configure.in
+++ b/c/src/make/configure.in
@@ -128,5 +128,7 @@ host.cfg
bsp.cfg
custom/Makefile
custom/default.cfg
-compilers/Makefile
+compilers/Makefile,
+make $RTEMS_BSP.cache,
+RTEMS_BSP=${RTEMS_BSP}
)