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
78c327bf
Commit
78c327bf
authored
Aug 13, 2016
by
yoogx
Browse files
* Clean up RTEMS variants, add RTEMS 4.12
parent
dd174a67
Changes
2
Hide whitespace changes
Inline
Side-by-side
share/make/Makefile.leon.rtems
View file @
78c327bf
...
...
@@ -36,24 +36,30 @@ TARGET_LDFLAGS = -lrtemsbsp -lc -lm
ifndef
RTEMS_API
TARGET_CFLAGS
+=
-DRTEMS48
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-llua
-lm
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-lm
endif
ifeq
($(RTEMS_API),4.8)
TARGET_CFLAGS
+=
-DRTEMS48
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-llua
-lm
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-lm
endif
ifeq
($(RTEMS_API),4.10)
TARGET_CFLAGS
+=
-DRTEMS410
endif
ifeq
($(RTEMS_API),4.11)
TARGET_CFLAGS
+=
-DRTEMS411
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-llua
-lm
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-lm
endif
ifeq
($(RTEMS_API),4.10)
TARGET_CFLAGS
+=
-DRTEMS410
ifeq
($(RTEMS_API),4.12)
TARGET_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
endif
target-clean
:
ifdef
USE_GPROF
...
...
share/make/Makefile.leon.rtems_posix
View file @
78c327bf
...
...
@@ -36,23 +36,29 @@ TARGET_LDFLAGS = -lrtemsbsp -lc -lm
ifndef
RTEMS_API
TARGET_CFLAGS
+=
-DRTEMS48
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-llua
-lm
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.8/
-lm
endif
ifeq
($(RTEMS_API),4.8)
TARGET_CFLAGS
+=
-DRTEMS48
endif
ifeq
($(RTEMS_API),4.10)
TARGET_CFLAGS
+=
-DRTEMS410
endif
ifeq
($(RTEMS_API),4.11)
TARGET_CFLAGS
+=
-DRTEMS411
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-llua
-lm
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.11/
-lm
endif
ifeq
($(RTEMS_API),4.10)
TARGET_CFLAGS
+=
-DRTEMS410
ifeq
($(RTEMS_API),4.12)
TARGET_CFLAGS
+=
-DRTEMS412
TARGET_LDFLAGS
+=
-L
$(RUNTIME_PATH)
/libs/leon-rtems4.12/
-lm
endif
ifdef
USE_GPROF
TARGET_LDFLAGS
+=
-Wl
,--wrap,Clock_isr
-pg
EXTERNAL_OBJECTS
+=
po_hi_gprof_rtems_leon.o
...
...
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