summaryrefslogtreecommitdiffstats
path: root/make/target.cfg.in
blob: 5a4a6c810023de2d22c651852887f8995a304b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#
# $Id$
#
# Target specific settings. 
#

prefix = @prefix@

CFLAGS = @CFLAGS@
CPPFLAGS = @CPPFLAGS@
DEFS = @DEFS@
LDFLAGS =
LIBS = @LIBS@
CC_FOR_BUILD = @CC@

CC = @CC_FOR_TARGET@
AS = @AS_FOR_TARGET@
AR = @AR_FOR_TARGET@
NM = @NM_FOR_TARGET@
LD = @LD_FOR_TARGET@
SIZE = @SIZE_FOR_TARGET@
STRIP = @STRIP_FOR_TARGET@
OBJCOPY = @OBJCOPY_FOR_TARGET@
RANLIB = @RANLIB_FOR_TARGET@

CXX = @CXX_FOR_TARGET@

export CC
export AS
export LD
export NM
export AR
export SIZE
export OBJCOPY

export CXX

RTEMS_CROSS_TARGET=@rtems_cv_prog_cc_cross@

RTEMS_HOST = @RTEMS_HOST@
RTEMS_HAS_MULTIPROCESSING = @RTEMS_HAS_MULTIPROCESSING@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
RTEMS_HAS_RDBG = @RTEMS_HAS_RDBG@
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@
RTEMS_CPU = @target_cpu@

# the following are only used for the bare bsp
BARE_CPU_MODEL = @BARE_CPU_MODEL@
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
 
# INSTALL_CHANGE=$(PROJECT_ROOT)/$(RTEMS_BSP)/build-tools/install-if-change
XCFLAGS=$(CFLAGS_FOR_TARGET)
 
export RTEMS_BSP
export RTEMS_CUSTOM
export PROJECT_ROOT

# List (possibly empty) of required managers
# We require:
#    region  -- used by lib/libcsupport for malloc()
#    ext     -- used by libc for libc reentrancy hooks

MANAGERS_REQUIRED=region ext sem

# Create a RTEMS executable based on MANAGERS which was set in
#  app's Makefile

MANAGERS_NOT_WANTED=$(filter-out $(MANAGERS) \
	$(MANAGERS_REQUIRED), $(MANAGER_LIST))