Radix cross Linux Build System

Cross-platform build system is designed to build distributions of different operating systems for a set of target devices

70 Commits   2 Branches   2 Tags
Index: build-system-1.9.x/build-config.mk.template
===================================================================
--- build-system-1.9.x/build-config.mk.template	(revision 31)
+++ build-system-1.9.x/build-config.mk.template	(revision 32)
@@ -122,4 +122,5 @@
 ENABLE_TL2SV2_LSB    = true
 
 # TARGETS: riscv64-rv64gc-linux-gnu:
-ENABLE_SIFIVE_U740   = true
+ENABLE_SIFIVE_U740   = false
+ENABLE_VISIONFIVE2   = true
Index: build-system-1.9.x/constants.mk
===================================================================
--- build-system-1.9.x/constants.mk	(revision 31)
+++ build-system-1.9.x/constants.mk	(revision 32)
@@ -629,8 +629,15 @@
 SIFIVE_U740_USE_BUILT_GCC_LIBS   = yes
 SIFIVE_U740_ENABLE_STATIC        = no
 
+####### VisionFive 2 SBC StarFive [https://doc-en.rvspace.org/Doc_Center/visionfive_2.html]:
+HARDWARE_VISIONFIVE2             = visionfive2
+###                               |---HW-spec-handy-ruler-----------------------|
+VISIONFIVE2_SPEC                 = VisionFive2 SBC \(Linux, GNU Libc based\)
+VISIONFIVE2_USE_BUILT_GCC_LIBS   = yes
+VISIONFIVE2_ENABLE_STATIC        = no
 
 
+
 HW_SPEC                = $(shell echo $($(shell echo $(HARDWARE) | tr '[a-z-]' '[A-Z_]')_SPEC) | sed "s, (.*),,")
 __USE_BUILT_GCC_LIBS__ = $(strip $(shell echo $($(shell echo $(HARDWARE) | tr '[a-z-]' '[A-Z_]')_USE_BUILT_GCC_LIBS)))
 __ENABLE_STATIC__      = $(strip $(shell echo $($(shell echo $(HARDWARE) | tr '[a-z-]' '[A-Z_]')_ENABLE_STATIC)))
@@ -709,6 +716,7 @@
     TL2SV2_LSB_ID_STD = 1A01
 
    SIFIVE_U740_ID_STD = 1B01
+   VISIONFIVE2_ID_STD = 1B02
 
 
 
@@ -1382,7 +1390,7 @@
 
 RISCV64_GLIBC_HAS_PATCHELF   = yes
 
-RISCV64_GLIBC_HARDWARE_VARIANTS := $(HARDWARE_SIFIVE_U740)
+RISCV64_GLIBC_HARDWARE_VARIANTS := $(HARDWARE_SIFIVE_U740) $(HARDWARE_VISIONFIVE2)