Changeset 1896a650 in rtems for c/src/exec/configure.in


Ignore:
Timestamp:
Jul 30, 1999, 5:52:50 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a3c8bda
Parents:
aa9eb940
Message:

Patch from Ralf Corsepius <corsepiu@…>:

The main topic is replacing the hard-coded values for HAS_MP and
HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
(This is the patch I had mentioned before earlier this week).

CHANGES

  • HAS_MP removed from custom/*.cfg, replaced with configuration time autoconf check
  • HAS_RDBG removed from custom/*.cfg, replaced with configuration-time autoconf check
  • NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp values (i.e. HAS_MP, HAS_RDBG), gets installed as $(prefix)/<bsp>/make/bsp.cfg
  • NEW: default.cfg includes bsp.cfg - this change is backward compatible.
  • IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory Makefile.ins
  • HACK: a bug in acpolish mis-handles addtions to makefile variables which are enclosed in gmake conditionals: c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  • Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of unneeded subdirectories in various configure.in files.
  • Several minor changes in Makefile.ins and configure.ins, wrt. to the order of including *.cfg and defining Makefile variables

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-4.diff
./autogen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/configure.in

    raa9eb940 r1896a650  
    4848RTEMS_CHECK_NEWLIB
    4949
    50 # find all the Executive Makefiles
    51 RTEMS_CHECK_MAKEFILE(rtems)
    52 RTEMS_CHECK_MAKEFILE(sapi)
    53 RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU)
    54 
    55 if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    56   RTEMS_CHECK_MAKEFILE(posix)
    57   makefiles="$makefiles wrapup/posix/Makefile"
    58 fi
    59 
    6050# Check if there is custom/*.cfg for this BSP
    6151RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
    6252
     53RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
     54
     55# find all the Executive Makefiles
     56RTEMS_CHECK_MAKEFILE(score/cpu/$RTEMS_CPU)
     57
    6358# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
    6459if test "$RTEMS_USE_MACROS" = "yes"; then
    65   inline_dir=macros
     60  inline_dir="macros"
    6661  if test "$RTEMS_HAS_POSIX_API" = "yes"; then
    6762    # The problem is that there is currently no code in posix/macros :)
     
    6964  fi
    7065else
    71   inline_dir=inline
     66  inline_dir="inline"
     67fi
     68
     69if test "$RTEMS_HAS_POSIX_API" = "yes"; then
     70  makefiles="$makefiles posix/Makefile"
     71  makefiles="$makefiles posix/src/Makefile"
     72  makefiles="$makefiles posix/include/Makefile"
     73  makefiles="$makefiles posix/include/sys/Makefile"
     74  makefiles="$makefiles posix/include/rtems/Makefile"
     75  makefiles="$makefiles posix/include/rtems/posix/Makefile"
     76  makefiles="$makefiles posix/include/wrap/Makefile"
     77  makefiles="$makefiles posix/optman/Makefile"
     78  makefiles="$makefiles wrapup/posix/Makefile"
     79
     80  makefiles="$makefiles posix/${inline_dir}/Makefile"
     81  makefiles="$makefiles posix/${inline_dir}/rtems/Makefile"
     82  makefiles="$makefiles posix/${inline_dir}/rtems/posix/Makefile"
    7283fi
    7384
     
    8697AC_OUTPUT(
    8798Makefile
     99rtems/Makefile
     100rtems/src/Makefile
     101rtems/include/Makefile
     102rtems/include/wrap/Makefile
     103rtems/include/rtems/Makefile
     104rtems/include/rtems/rtems/Makefile
     105rtems/optman/Makefile
     106rtems/${inline_dir}/Makefile
     107rtems/${inline_dir}/rtems/Makefile
     108rtems/${inline_dir}/rtems/rtems/Makefile
     109sapi/Makefile
     110sapi/src/Makefile
     111sapi/include/Makefile
     112sapi/include/wrap/Makefile
     113sapi/include/rtems/Makefile
     114sapi/include/rtems/sptables.h
     115sapi/${inline_dir}/Makefile
     116sapi/${inline_dir}/rtems/Makefile
     117sapi/optman/Makefile
    88118score/Makefile
    89119score/cpu/Makefile
     
    99129wrapup/rtems/Makefile
    100130$makefiles
    101 sapi/include/rtems/sptables.h
    102131)
     132
Note: See TracChangeset for help on using the changeset viewer.