Skip to content

Commit

Permalink
rename sparcv8leon3 to sparcv8leon
Browse files Browse the repository at this point in the history
JIRA: RTOS-883
  • Loading branch information
lukileczo authored and agkaminski committed Nov 5, 2024
1 parent 8e072ed commit d81fc25
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions makes/include-target.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,15 @@ ifeq ($(TARGET_FAMILY), host)
TARGET_SUFF ?= host
endif

# SPARCV8 LEON 3
# SPARCV8 LEON
TARGETS_SPARC := \
sparcv8leon3-gr716 \
sparcv8leon3-gr712rc \
sparcv8leon3-generic
sparcv8leon-gr716 \
sparcv8leon-gr712rc \
sparcv8leon-generic

TARGETS += $(TARGETS_SPARC)
ifneq (,$(filter $(TARGETS_SPARC),$(TARGET_FAMILY)-$(TARGET_SUBFAMILY)))
TARGET_SUFF ?= sparcv8leon3
TARGET_SUFF ?= sparcv8leon
endif

SPACE :=
Expand Down
6 changes: 3 additions & 3 deletions target/sparcv8leon3.mk → target/sparcv8leon.mk
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# Makefile for Phoenix-RTOS 3
#
# SPARCv8 LEON3 options
# SPARCv8 LEON options
#
# Copyright 2022-2024 Phoenix Systems
#
Expand All @@ -22,7 +22,7 @@ ifeq ($(TARGET_SUBFAMILY), gr716)
VADDR_KERNEL_INIT := $(KERNEL_PHADDR)

CFLAGS += -msoft-float
CPPFLAGS += -DLEON3_USE_PWR
CPPFLAGS += -DLEON_USE_PWR

ifeq ($(KERNEL), 1)
LDFLAGS += -Wl,-z,max-page-size=0x200 -Tbss=40001800 -Tdata=40001800 -Wl,--section-start=.rodata=40000000
Expand All @@ -42,7 +42,7 @@ else ifeq ($(TARGET_SUBFAMILY), gr712rc)
STRIP := $(CROSS)strip
VADDR_KERNEL_INIT := 0xc0000000
CFLAGS += -mfix-gr712rc
CPPFLAGS += -DLEON3_TN_0018_FIX
CPPFLAGS += -DLEON_TN_0018_FIX
LDFLAGS += -Wl,-z,max-page-size=0x1000

HAVE_MMU := y
Expand Down
2 changes: 1 addition & 1 deletion toolchain/build-toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ declare -A TOOLCHAN_TO_PHOENIX_TARGETS=(
[arm-phoenix]="armv7a9-zynq7000 armv7a7-imx6ull armv7m7-imxrt106x armv7m4-stm32l4x6"
[i386-pc-phoenix]="ia32-generic"
[riscv64-phoenix]="riscv64-generic"
[sparc-phoenix]="sparcv8leon3-gr716 sparcv8leon3-gr712rc"
[sparc-phoenix]="sparcv8leon-gr716 sparcv8leon-gr712rc sparcv8leon-generic"
)

TARGET="$1"
Expand Down

0 comments on commit d81fc25

Please sign in to comment.