Skip to contentSkip to conversation

build-oesdk, machine-specific-functions: support Aarch64 and am65xx-evm

PATCH New Denys Dmytriyenko 1 participant 1 message Jun 18, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 build-oesdk, machine-specific-functions: support Aarch64 and am65xx-evm

---
 build-oesdk.sh                       |  1 +
 lib/oesdk/machine-specific-functions | 10 ++++++++++
 2 files changed, 11 insertions(+)
build-oesdk.sh +1 -0
index 8b9c604..038a7ab 100755
@@ -165,6 +165,7 @@ parse_machines
 # lists that will be run through as parallel builds in the build process.
 create_build_lists "CORTEX"
 create_build_lists "ARM9"
+create_build_lists "AARCH64"
 
 # Go through the list of "lists" and configure the individual build
 # directories for each one
lib/oesdk/machine-specific-functions +10 -0
index 166e891..50e2cf9 100644
@@ -25,6 +25,10 @@ parse_machines() {
                 CORTEX_MACHINES="$CORTEX_MACHINES"" $m"
                 ARCHS="$ARCHS""\n""CORTEX"
                 ;;
+            am65xx-evm )
+                AARCH64_MACHINES="$AARCH64_MACHINES"" $m"
+                ARCHS="$ARCHS""\n""AARCH64"
+                ;;
             * )
                 log $error_log echo "Unknown machine ($m) specified"
                 exit 1
@@ -50,6 +54,12 @@ add_toolchain_to_path() {
                 export PATH="$TOOLCHAIN_ROOT_CORTEX:$PATH"
             fi
             ;;
+        AARCH64* )
+            if [ ! -z $TOOLCHAIN_ROOT_AARCH64 ]
+            then
+                export PATH="$TOOLCHAIN_ROOT_AARCH64:$PATH"
+            fi
+            ;;
         * )
             log $error_log echo "Unknown machine ($m) specified.  Cannot set PATH"
             exit 1
Signature · 1 line
2.17.1