Commit 5f9ccb00 authored by yoogx's avatar yoogx

* Minor edits

	For openaadl/ocarina#160
parent 08681ab8
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment