source: rtems/make/custom/default.cfg @ ca0bafa7

4.104.114.84.95
Last change on this file since ca0bafa7 was 0500c342, checked in by Joel Sherrill <joel.sherrill@…>, on 05/18/98 at 16:39:49

Added conditional around TARGET_ARCH to prevent accidental overrides.

  • Property mode set to 100644
File size: 1.9 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 $(PROJECT_ROOT)/make/target.cfg
12include $(PROJECT_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
21
22# use the inline functions instead of the macros
23# ref: src/exec/generic/Makefile
24ifeq ($(RTEMS_USE_MACROS),yes)
25INLINE=macros
26INLINE_UPCASE=
27else
28INLINE=inline
29INLINE_UPCASE=INLINE
30endif
31
32# HOST Compiler config file
33# You may also want to specify where the compiler resides here.
34CONFIG.$(HOST_ARCH).CC   = $(RTEMS_ROOT)/make/compilers/gcc.cfg
35
36## Target compiler config file, if any
37CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg
38
39## GCC specs extension file location
40RTEMS_BSP_SPECS = $(PROJECT_ROOT)/$(RTEMS_BSP)/lib/bsp_specs
41
42## LIBC support
43## Specify the one you want here and fill in the blanks.
44## Currently CYGNUS newlib is supported.
45## NOTE: RTEMS libcsupport.a includes RTEMS versions of stuff like
46##       malloc, gettimeofday, etc.
47
48# Use the LIBC support for CYGNUS newlib
49# RTEMS_LIBC_DIR must already be set (by module file)
50RTEMS_USE_NEWLIB=yes
51
52# Define this to yes if C++ is included in the development environment.
53# This requires that at least the GNU C++ compiler and libg++ be installed.
54ifeq ($(RTEMS_HAS_CPLUSPLUS),yes)
55HAS_CPLUSPLUS=yes
56else
57HAS_CPLUSPLUS=no
58endif
59
60# Define this to yes if this target supports multiprocessor environments.
61HAS_MP=no
62
63# Define this to yes if this target wants the KA9Q TCP/IP stack
64ifeq ($(RTEMS_HAS_KA9Q),yes)
65HAS_KA9Q=yes
66endif
67
68# Define this to yes if this target wants the posix api
69ifeq ($(RTEMS_HAS_POSIX_API),yes)
70HAS_POSIX_API=yes
71else
72HAS_POSIX_API=no
73endif
74
75# Base name of start file
76START_BASE=start
77
Note: See TracBrowser for help on using the repository browser.