Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename sparcv8leon3 to sparcv8leon #217

Merged
merged 1 commit into from
Nov 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading