source: rtems/c/src/make/custom/default.cfg.in @ 1896a650

4.104.114.84.95
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on 07/30/99 at 17:52:50

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

  • Property mode set to 100644
File size: 1.8 KB
Line 
1# Default target settings
2#
3# Some of these values are redefined in the target specific .cfg files.
4#
5# Created by Jiri Gaisler, 16-03-97  (who is owed a debt of gratitude
6#   for converting RTEMS to autoconf.  Thanks. --joel)
7#
8#  $Id$
9#
10
11include $(RTEMS_ROOT)/make/target.cfg
12include $(RTEMS_ROOT)/make/host.cfg
13
14# Specify here the host and target "architectures"
15HOST_ARCH=o-$(RTEMS_HOST)
16ifndef TARGET_ARCH
17TARGET_ARCH=o-@RTEMS_BSP@
18endif
19
20include $(RTEMS_ROOT)/make/main.cfg
21include $(RTEMS_ROOT)/make/bsp.cfg
22
23# use the inline functions instead of the macros
24# ref: src/exec/generic/Makefile
25ifeq ($(RTEMS_USE_MACROS),yes)
26INLINE=macros
27INLINE_UPCASE=
28else
29INLINE=inline
30INLINE_UPCASE=INLINE
31endif
32
33# HOST Compiler config file
34# You may also want to specify where the compiler resides here.
35CONFIG.$(HOST_ARCH).CC   = $(PROJECT_ROOT)/make/compilers/gcc.cfg
36
37## Target compiler config file, if any
38CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
39
40## GCC specs extension file location
41RTEMS_BSP_SPECS = $(PROJECT_ROOT)/@RTEMS_BSP@/lib/bsp_specs
42
43## LIBC support
44## Specify the one you want here and fill in the blanks.
45## Currently CYGNUS newlib is supported.
46## NOTE: RTEMS libcsupport.a includes RTEMS versions of stuff like
47##       malloc, gettimeofday, etc.
48
49# Define this to yes if C++ is included in the development environment.
50# This requires that at least the GNU C++ compiler and libg++ be installed.
51ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
52HAS_CPLUSPLUS=yes
53else
54HAS_CPLUSPLUS=no
55endif
56
57# Define this to yes if this target wants the TCP/IP stack
58ifeq ($(RTEMS_HAS_NETWORKING),yes)
59HAS_NETWORKING=yes
60else
61HAS_NETWORKING=no
62endif
63
64# Define this to yes if this target wants the posix api
65ifeq ($(RTEMS_HAS_POSIX_API),yes)
66HAS_POSIX_API=yes
67else
68HAS_POSIX_API=no
69endif
70
71# Base name of start file
72START_BASE=start
73
Note: See TracBrowser for help on using the repository browser.