[TCT][Scripts][Non-ACR] gcc-13.1 tool chain support added for RISCV64 arch 28/310528/1
authorshobhitv <shobhit.v@samsung.com>
Tue, 30 Apr 2024 09:41:49 +0000 (15:11 +0530)
committershobhitv <shobhit.v@samsung.com>
Tue, 30 Apr 2024 09:41:49 +0000 (15:11 +0530)
Change-Id: Ib5dba8fe7e97d1f4809fd92dad2fa2199472dc20
Signed-off-by: shobhitv <shobhit.v@samsung.com>
scripts_tpk/tpk_create.sh

index 92f6e314cabbd4a4febaa6107265971a26be175b..75c62a57a0b808b329cc65120a329999b184a2ef 100755 (executable)
@@ -804,6 +804,11 @@ elif [ $PROFILE_TYPE == "tv" ]; then
        checkRootstrap "$ROOTSTRAP_TV" $PROFILE_TYPE $DEVICE_TYPE $CURRENT_VERSION $ARCH_TYPE
 fi
 
+##RISCV64 architecture build is supported using gcc-13.1 tool chain
+if [ $ARCH_TYPE == "riscv64" ]; then
+       COMPILER_TYPE="gcc-13.1"
+fi
+
 if [ $BUILD_PROFILE == "wearable" ]; then
        if [ -z "$ROOTSTRAP_WEARABLE" ]; then
                RunCommand "tizen build-native -a $ARCH_TYPE -c $COMPILER_TYPE -C $BUILD_TYPE -- $WORKSPACE_PATH/$PROJECT_NAME" "Building tpk $PROJECT_NAME"