Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
PolyORB-HI-C
Commits
5f9ccb00
Commit
5f9ccb00
authored
Jun 04, 2018
by
yoogx
Browse files
* Minor edits
For openaadl/ocarina#160
parent
08681ab8
Changes
1
Hide whitespace changes
Inline
Side-by-side
share/make/Makefile.air
View file @
5f9ccb00
...
...
@@ -33,31 +33,31 @@ CPPFLAGS += -DAIR_HYPERVISOR./ -I./ -B./ -I../common/ -B../common/ -B$(AIR_LIBS)
# variant of RTEMS.
ifndef
RTEMS_API
POHI_CFLAGS
+=
-DRTEMS48
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-lm
POHI_CFLAGS
+=
-DRTEMS48
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-lm
endif
ifeq
($(RTEMS_API),4.8)
POHI_CFLAGS
+=
-DRTEMS48
POHI_CFLAGS
+=
-DRTEMS48
endif
ifeq
($(RTEMS_API),4.10)
POHI_CFLAGS
+=
-DRTEMS410
POHI_CFLAGS
+=
-DRTEMS410
endif
ifeq
($(RTEMS_API),4.11)
POHI_CFLAGS
+=
-DRTEMS411
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-lm
POHI_CFLAGS
+=
-DRTEMS411
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-lm
endif
ifeq
($(RTEMS_API),4.12)
POHI_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
POHI_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
endif
ifeq
($(RTEMS_API),5)
POHI_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
POHI_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
endif
##############################################################################
...
...
@@ -70,20 +70,20 @@ endif
# LEON3: RCC 1.3 macro to enables LEON3 peripherals.
ifeq
($(RTEMS_BSP),gr740)
POHI_CFLAGS
+=
-DGRLEON3
POHI_CFLAGS
+=
endif
ifeq
($(RTEMS_BSP),leon3)
POHI_CFLAGS
+=
-DGRLEON3
-DLEON3
POHI_CFLAGS
+=
-DLEON3
endif
# leon3_sf is provided by RCC 1.3
ifeq
($(RTEMS_BSP),leon3_sf)
POHI_CFLAGS
+=
-DGRLEON3
-DLEON3
POHI_CFLAGS
+=
-DLEON3
endif
ifeq
($(RTEMS_BSP),leon2)
POHI_CFLAGS
+=
-DGRLEON2
POHI_CFLAGS
+=
-DGRLEON2
endif
ifdef
USE_GPROF
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment