Commit 370b971c authored by yoogx's avatar yoogx

* Add support for gr740_smp BSP

        For openaadl/ocarina#176
parent 916d346f
...@@ -55,6 +55,10 @@ ifeq ($(RTEMS_API),5) ...@@ -55,6 +55,10 @@ ifeq ($(RTEMS_API),5)
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.12/ -lm TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.12/ -lm
endif endif
ifeq ($(RTEMS_BSP),gr740_smp)
POHI_CFLAGS += -DGRLEON3
endif
ifeq ($(RTEMS_BSP),leon3) ifeq ($(RTEMS_BSP),leon3)
POHI_CFLAGS += -DGRLEON3 POHI_CFLAGS += -DGRLEON3
endif endif
......
...@@ -63,6 +63,11 @@ ifeq ($(RTEMS_BSP),gr740) ...@@ -63,6 +63,11 @@ ifeq ($(RTEMS_BSP),gr740)
POHI_CFLAGS += -DGRLEON3 POHI_CFLAGS += -DGRLEON3
endif endif
# gr740_smp is provided by RCC 1.3
ifeq ($(RTEMS_BSP),gr740_smp)
POHI_CFLAGS += -DGRLEON3 -DLEON3
endif
ifeq ($(RTEMS_BSP),leon3) ifeq ($(RTEMS_BSP),leon3)
POHI_CFLAGS += -DGRLEON3 -DLEON3 POHI_CFLAGS += -DGRLEON3 -DLEON3
endif endif
......
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