4.104.114.84.95
Last change
on this file since 1382cea3 was
847dbbe,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/01/00 at 13:41:54
|
Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@…>
that contains:
- The fix for the gen68360/network/Makefile.am
- automatically set permissions to 755 to scripts/buildall and
scripts-ada/buildall (I remembered a trick to achieve this :).
- automake support for libbsp/* and libcpu/* (Attn: This part will
finally break old-style configuration for all non-public cpus)
NOTES:
- This patch has only been tested for a random selection of BSPs (I
haven't rebuilt all toolchains yet).
- This patch is against rtem-cvs as of this morning (MET).
To apply:
patch -p1 <rtems-rc-20000118-5.diff
cvs rm -f ./c/src/lib/libbsp/Makefile.in
cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in
cvs rm -f ./c/src/lib/libcpu/Makefile.in
cvs add ./c/src/lib/libbsp/Makefile.am
cvs add ./c/src/lib/libbsp/shmdr/Makefile.am
cvs add ./c/src/lib/libcpu/Makefile.am
./bootstrap
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[e1d8abb] | 1 | dnl Process this file with autoconf to produce a configure script. |
---|
| 2 | dnl |
---|
| 3 | dnl $Id$ |
---|
| 4 | |
---|
| 5 | AC_PREREQ(2.13) |
---|
| 6 | AC_INIT(README) |
---|
| 7 | RTEMS_TOP(../../../..) |
---|
| 8 | AC_CONFIG_AUX_DIR(../../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
[847dbbe] | 11 | AM_INIT_AUTOMAKE(rtems-c-src-lib-libbsp,$RTEMS_VERSION,no) |
---|
[e1d8abb] | 12 | AM_MAINTAINER_MODE |
---|
| 13 | |
---|
| 14 | RTEMS_ENABLE_MULTIPROCESSING |
---|
| 15 | RTEMS_ENABLE_LIBCDIR |
---|
| 16 | RTEMS_ENABLE_BARE |
---|
| 17 | |
---|
| 18 | RTEMS_ENV_RTEMSBSP |
---|
| 19 | |
---|
| 20 | RTEMS_CHECK_CPU |
---|
| 21 | RTEMS_CANONICAL_HOST |
---|
| 22 | |
---|
| 23 | RTEMS_PROJECT_ROOT |
---|
| 24 | |
---|
| 25 | dnl check target cc |
---|
| 26 | RTEMS_PROG_CC_FOR_TARGET |
---|
| 27 | RTEMS_CANONICALIZE_TOOLS |
---|
| 28 | |
---|
| 29 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
| 30 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
---|
| 31 | |
---|
| 32 | RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir) |
---|
| 33 | |
---|
| 34 | # Is there code where there should be for this BSP? |
---|
| 35 | # The bare bsp is a special case as it is not under the RTEMS_CPU path |
---|
[b62a92c] | 36 | case $bspdir in |
---|
[e1d8abb] | 37 | bare) |
---|
| 38 | bspcpudir= |
---|
| 39 | if test "X${BARE_CPU_CFLAGS}" = "X" ; then |
---|
| 40 | AC_MSG_ERROR([--enable-bare-cpu-cflags not specified for bare bsp]) |
---|
| 41 | fi |
---|
| 42 | if test "X${BARE_CPU_MODEL}" = "X" ; then |
---|
| 43 | AC_MSG_ERROR([--enable-bare-cpu-model not specified for bare bsp]) |
---|
| 44 | fi |
---|
| 45 | ;; |
---|
| 46 | *) |
---|
| 47 | bspcpudir=$RTEMS_CPU/ |
---|
| 48 | ;; |
---|
| 49 | esac |
---|
| 50 | |
---|
| 51 | if test "$RTEMS_BSP" = "bare" ; then |
---|
| 52 | RTEMS_LIBBSP_CPU_SUBDIR="bare" |
---|
| 53 | else |
---|
[94608578] | 54 | RTEMS_LIBBSP_CPU_SUBDIR=$RTEMS_CPU |
---|
[e1d8abb] | 55 | fi |
---|
| 56 | AC_SUBST(RTEMS_LIBBSP_CPU_SUBDIR) |
---|
[847dbbe] | 57 | cfg_subdirs="$RTEMS_LIBBSP_CPU_SUBDIR" |
---|
[94608578] | 58 | |
---|
[e1d8abb] | 59 | AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes") |
---|
[fa178d49] | 60 | AC_CONFIG_SUBDIRS($cfg_subdirs) |
---|
[e1d8abb] | 61 | |
---|
[847dbbe] | 62 | # Explicitly list all Makefiles |
---|
[e1d8abb] | 63 | AC_OUTPUT( |
---|
| 64 | Makefile |
---|
[847dbbe] | 65 | shmdr/Makefile) |
---|
Note: See
TracBrowser
for help on using the repository browser.