Makefile.leon3-scoc3 1.03 KB
Newer Older
jdelange's avatar
jdelange committed
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
## This file is a part of PolyORB-HI-C software.

## To use and compile RTEMS, visit http://www.rtems.com

## This file has been built for a generit RTEMS integration


include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
include $(RTEMS_CUSTOM)
include $(PROJECT_ROOT)/make/leaf.cfg


define bsp-post-link
   $(NM) -g -n $@ > $(basename $@).num
   $(SIZE) $@
endef


MANAGERS = all

CC                           = $(CC_FOR_TARGET)
CPP                          = $(CXX_FOR_TARGET)
LD                           = $(LD_FOR_TARGET)
GPROF                        = sparc-rtems-gprof

TARGET_SOURCES               = 
#TARGET_TRANSPORT_SOURCES     = $(RUNTIME_PATH)/config/leon-rtems/config.c
TARGET_TRANSPORT_SOURCES     = 

30
POHI_CFLAGS                = -D__PO_HI_RTEMS_CLASSIC_API -DLEON_RTEMS $(GCC_GENERIC_FLAGS)  $(CPU_FLAGS) $(AM_FLAGS) $(GCCSPECS)
jdelange's avatar
jdelange committed
31
32
33
34
TARGET_INCLUDE               = -I $(RUNTIME_PATH)/config/leon-rtems/

TARGET_LDFLAGS               = -lrtemsbsp -lc -lm

35
POHI_CFLAGS                +=  -DRTEMS410
jdelange's avatar
jdelange committed
36
37
38
39
40
41
42
43
   
target-clean:

target-objects:

LINK_LIBS+=-lm