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 $(RTEMS_ROOT)/make/target.cfg |
---|
12 | include $(RTEMS_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 | include $(RTEMS_ROOT)/make/bsp.cfg |
---|
22 | |
---|
23 | # use the inline functions instead of the macros |
---|
24 | # ref: src/exec/generic/Makefile |
---|
25 | ifeq ($(RTEMS_USE_MACROS),yes) |
---|
26 | INLINE=macros |
---|
27 | INLINE_UPCASE= |
---|
28 | else |
---|
29 | INLINE=inline |
---|
30 | INLINE_UPCASE=INLINE |
---|
31 | endif |
---|
32 | |
---|
33 | # HOST Compiler config file |
---|
34 | # You may also want to specify where the compiler resides here. |
---|
35 | CONFIG.$(HOST_ARCH).CC = $(PROJECT_ROOT)/make/compilers/gcc.cfg |
---|
36 | |
---|
37 | ## Target compiler config file, if any |
---|
38 | CONFIG.$(TARGET_ARCH).CC = $(RTEMS_ROOT)/make/compilers/gcc-target-default.cfg |
---|
39 | |
---|
40 | ## GCC specs extension file location |
---|
41 | RTEMS_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. |
---|
51 | ifeq ($(RTEMS_HAS_CPLUSPLUS),yes) |
---|
52 | HAS_CPLUSPLUS=yes |
---|
53 | else |
---|
54 | HAS_CPLUSPLUS=no |
---|
55 | endif |
---|
56 | |
---|
57 | # Define this to yes if this target wants the TCP/IP stack |
---|
58 | ifeq ($(RTEMS_HAS_NETWORKING),yes) |
---|
59 | HAS_NETWORKING=yes |
---|
60 | else |
---|
61 | HAS_NETWORKING=no |
---|
62 | endif |
---|
63 | |
---|
64 | # Define this to yes if this target wants the posix api |
---|
65 | ifeq ($(RTEMS_HAS_POSIX_API),yes) |
---|
66 | HAS_POSIX_API=yes |
---|
67 | else |
---|
68 | HAS_POSIX_API=no |
---|
69 | endif |
---|
70 | |
---|
71 | # Base name of start file |
---|
72 | START_BASE=start |
---|
73 | |
---|