summaryrefslogtreecommitdiffstats
path: root/make/Templates/Makefile.inc.in
blob: b2b0ec4ba59cf2a4bcc0fc4b7b39aa3e07ea94e1 (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
#
#
# Target specific settings. To be included in application Makefiles.
#

prefix = @prefix@

CC_FOR_TARGET = @program_prefix@gcc
AS_FOR_TARGET = @program_prefix@as
AR_FOR_TARGET = @program_prefix@ar
NM_FOR_TARGET = @program_prefix@nm
LD_FOR_TARGET = @program_prefix@ld
SIZE_FOR_TARGET = @program_prefix@size
OBJCOPY_FOR_TARGET = @program_prefix@objcopy

CC= $(CC_FOR_TARGET)
AS= $(AS_FOR_TARGET)
LD= $(LD_FOR_TARGET)
NM= $(NM_FOR_TARGET)
AR= $(AR_FOR_TARGET)
SIZE= $(SIZE_FOR_TARGET)
OBJCOPY= $(OBJCOPY_FOR_TARGET)

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

RTEMS_HOST = @RTEMS_HOST@
RTEMS_CUSTOM = $(prefix)/rtems/make/custom/$(RTEMS_BSP).cfg
PROJECT_ROOT = $(prefix)/rtems/
RTEMS_USE_OWN_PDIR = @RTEMS_USE_OWN_PDIR@
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
RTEMS_HAS_KA9Q = @RTEMS_HAS_KA9Q@
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
RTEMS_HAS_CPLUSPLUS = @RTEMS_HAS_CPLUSPLUS@
RTEMS_USE_GCC272 = @RTEMS_USE_GCC272@
RTEMS_LIBC_DIR = @RTEMS_LIBC_DIR@

export RTEMS_BSP
export RTEMS_CUSTOM
export PROJECT_ROOT

# FIXME: The following shouldn't be here
RTEMS_ROOT = $(PROJECT_ROOT)
export RTEMS_ROOT