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 | |
---|
11 | include $(PROJECT_ROOT)/make/target.cfg |
---|
12 | include $(PROJECT_ROOT)/make/host.cfg |
---|
13 | |
---|
14 | # Specify here the host and target "architectures" |
---|
15 | HOST_ARCH=o-$(RTEMS_HOST) |
---|
16 | ifndef TARGET_ARCH |
---|
17 | TARGET_ARCH=o-$(RTEMS_BSP) |
---|
18 | endif |
---|
19 | |
---|
20 | include $(RTEMS_ROOT)/make/main.cfg |
---|
21 | |
---|
22 | # use the inline functions instead of the macros |
---|
23 | # ref: src/exec/generic/Makefile |
---|
24 | ifeq ($(RTEMS_USE_MACROS),yes) |
---|
25 | INLINE=macros |
---|
26 | INLINE_UPCASE= |
---|
27 | else |
---|
28 | INLINE=inline |
---|
29 | INLINE_UPCASE=INLINE |
---|
30 | endif |
---|
31 | |
---|
32 | # HOST Compiler config file |
---|
33 | # You may also want to specify where the compiler resides here. |
---|
34 | CONFIG.$(HOST_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc.cfg |
---|
35 | |
---|
36 | ## Target compiler config file, if any |
---|
37 | CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg |
---|
38 | |
---|
39 | ## GCC specs extension file location |
---|
40 | RTEMS_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) |
---|
50 | RTEMS_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. |
---|
54 | ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) |
---|
55 | HAS_CPLUSPLUS=yes |
---|
56 | else |
---|
57 | HAS_CPLUSPLUS=no |
---|
58 | endif |
---|
59 | |
---|
60 | # Define this to yes if this target supports multiprocessor environments. |
---|
61 | HAS_MP=no |
---|
62 | |
---|
63 | # Define this to yes if this target wants the KA9Q TCP/IP stack |
---|
64 | ifeq ($(RTEMS_HAS_KA9Q),yes) |
---|
65 | HAS_KA9Q=yes |
---|
66 | endif |
---|
67 | |
---|
68 | # Define this to yes if this target wants the posix api |
---|
69 | ifeq ($(RTEMS_HAS_POSIX_API),yes) |
---|
70 | HAS_POSIX_API=yes |
---|
71 | else |
---|
72 | HAS_POSIX_API=no |
---|
73 | endif |
---|
74 | |
---|
75 | # Base name of start file |
---|
76 | START_BASE=start |
---|
77 | |
---|