Changeset 1896a650 in rtems for make


Ignore:
Timestamp:
Jul 30, 1999, 5:52:50 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
a3c8bda
Parents:
aa9eb94
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

Location:
make
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • make/custom/default.cfg

    raa9eb94 r1896a650  
    1919
    2020include $(RTEMS_ROOT)/make/main.cfg
     21include $(RTEMS_ROOT)/$(RTEMS_BSP)/make/bsp.cfg
    2122
    2223# use the inline functions instead of the macros
     
    5455endif
    5556
    56 # Define this to yes if this target supports multiprocessor environments.
    57 ifeq ($(RTEMS_HAS_MULTIPROCESSING),yes)
    58 HAS_MP=yes
    59 else
    60 HAS_MP=no
    61 endif
    62 
    6357# Define this to yes if this target wants the TCP/IP stack
    6458ifeq ($(RTEMS_HAS_NETWORKING),yes)
     
    6660else
    6761HAS_NETWORKING=no
    68 endif
    69 
    70 # Define this to yes if this target wants the remote debugger
    71 ifeq ($(RTEMS_HAS_RDBG),yes)
    72 HAS_RDBG=yes
    73 else
    74 HAS_RDBG=no
    7562endif
    7663
  • make/custom/force386.cfg

    raa9eb94 r1896a650  
    2626# to enable it.
    2727HAS_NETWORKING=no
    28 
    29 # This BSP does not support librdbg
    30 HAS_RDBG=no
    3128
    3229#  This section makes the target dependent options file.
  • make/custom/i386ex.cfg

    raa9eb94 r1896a650  
    2222# -fomit-frame-pointer breaks debugging and C++ exceptions
    2323CFLAGS_OPTIMIZE_V=-O4
    24 
    25 # This BSP does not support librdbg
    26 HAS_RDBG=no
    2724
    2825#  This section makes the target dependent options file.
  • make/custom/pc386.cfg

    raa9eb94 r1896a650  
    2222# -fomit-frame-pointer breaks debugging and C++ exceptions
    2323CFLAGS_OPTIMIZE_V=-O4
    24 
    25 # Define this to yes if this target supports multiprocessor environments.
    26 HAS_MP=no
    2724
    2825#  This section makes the target dependent options file.
  • make/custom/portsw.cfg

    raa9eb94 r1896a650  
    4646HAS_CPLUSPLUS=no
    4747
    48 # Define this to yes if this target supports multiprocessor environments.
    49 HAS_MP=no
    50 
    5148# This target does NOT support the TCP/IP stack so ignore requests
    5249# to enable it.
  • make/custom/ppcn_60x.cfg

    raa9eb94 r1896a650  
    7575CPU_CFLAGS = -mcpu=603
    7676
    77 # Define this to yes if this target supports multiprocessor environments.
    78 HAS_MP=no
    79 
    8077# optimize flag: typically -0, could use -O4 or -fast
    8178# -O4 is ok for RTEMS
  • make/custom/psim.cfg

    raa9eb94 r1896a650  
    8080CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
    8181
    82 # Define this to yes if this target supports multiprocessor environments.
    83 HAS_MP=no
    84 
    8582# This target does not support the TCP/IP stack so ignore requests
    8683# to enable it.
  • make/custom/ts_386ex.cfg

    raa9eb94 r1896a650  
    2323# -fomit-frame-pointer breaks debugging and C++ exceptions
    2424CFLAGS_OPTIMIZE_V=-O4
    25 
    26 # This BSP does not support librdbg
    27 HAS_RDBG=no
    2825
    2926#  This section makes the target dependent options file.
  • make/main.cfg

    raa9eb94 r1896a650  
    4343#
    4444# Target variant names
    45 # and rule to expand them into (for example): sun4 sun4-debug sun4-profile
    46 # Note compiler config may add to TARGET_VARIANTS
    4745#
    48 
    4946TARGET_VARIANTS = debug profile
    5047
Note: See TracChangeset for help on using the changeset viewer.