Skip to content

Commit

Permalink
* Add support for gr740_smp BSP
Browse files Browse the repository at this point in the history
  • Loading branch information
yoogx committed Nov 7, 2018
1 parent 916d346 commit 370b971
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions share/make/Makefile.leon.rtems
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ ifeq ($(RTEMS_API),5)
TARGET_LDFLAGS += -L$(RUNTIME_PATH)/libs/leon-rtems4.12/ -lm
endif

ifeq ($(RTEMS_BSP),gr740_smp)
POHI_CFLAGS += -DGRLEON3
endif

ifeq ($(RTEMS_BSP),leon3)
POHI_CFLAGS += -DGRLEON3
endif
Expand Down
5 changes: 5 additions & 0 deletions share/make/Makefile.leon.rtems_posix
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ ifeq ($(RTEMS_BSP),gr740)
POHI_CFLAGS += -DGRLEON3
endif

# gr740_smp is provided by RCC 1.3
ifeq ($(RTEMS_BSP),gr740_smp)
POHI_CFLAGS += -DGRLEON3 -DLEON3
endif

ifeq ($(RTEMS_BSP),leon3)
POHI_CFLAGS += -DGRLEON3 -DLEON3
endif
Expand Down

0 comments on commit 370b971

Please sign in to comment.