[Script][NonACR] Build support added for aarch64 for TV profile 18/291918/1
authorUtkarsh Tiwari <utk.tiwari@samsung.com>
Mon, 24 Apr 2023 10:37:24 +0000 (16:07 +0530)
committerUtkarsh Tiwari <utk.tiwari@samsung.com>
Tue, 25 Apr 2023 05:24:14 +0000 (10:54 +0530)
Change-Id: Ia18b51d1fc35833de2fd08c5967d5ffd173842b1
Signed-off-by: Utkarsh Tiwari <utk.tiwari@samsung.com>
scripts_tpk/tpk_create.sh
scripts_tpk/tpkbuild.sh

index 18d59bc722d0ddc85887e250c39a6cff5a3efacc..f007264b7cc788f6b9aad0417f6b3c0bbc2b7ed8 100755 (executable)
@@ -655,7 +655,7 @@ fi
 CURRENT_VERSION="7.5"
 
 #####Check for architecture in case of TV  profile##########
-if [ "$ARCH_TYPE" != "arm" ];  then
+if [ "$ARCH_TYPE" != "arm" ]&& [ "$ARCH_TYPE" != "aarch64" ];  then
        if [ "$PROFILE_TYPE" == "tv" ] ; then
                echo $yellow"$PROFILE_TYPE profile build is supported only for arm architecture"$reset
                exit
index 4be05309aa6f79baab8abbaf39744811837844b2..b6f93c0516d581b3e57c92e50e54bcd198f5768c 100755 (executable)
@@ -148,7 +148,7 @@ function install {
        TC_COUNT=1
        IS_COVERAGE=0
 
-       if [ "$ARCH_TYPE" != "arm" ] ; then
+       if [ "$ARCH_TYPE" != "arm" ] && [ "$ARCH_TYPE" != "aarch64" ]; then
                if  [[ ("$PROFILE_TYPE" == "tv") ]] ; then
                        echo "$PROFILE_TYPE profile is not buildable and installable for $ARCH_TYPE architecture"
                        exit 1;
@@ -188,7 +188,7 @@ function install_coverage {
        TC_COUNT=1
        IS_COVERAGE=1
 
-       if [ "$ARCH_TYPE" != "arm" ] ; then
+       if [ "$ARCH_TYPE" != "arm" ] && [ "$ARCH_TYPE" != "aarch64" ]; then
                if  [ "$PROFILE_TYPE" == "tv" ] ; then
                        echo "$PROFILE_TYPE profile is not buildable and coverage installable for $ARCH_TYPE architecture"
                exit 1;