build-oesdk, machine-specific-functions: support Aarch64 and am65xx-evm
PATCH 1/1 build-oesdk, machine-specific-functions: support Aarch64 and am65xx-evm
Signed-off-by Denys Dmytriyenko <[email protected]>
--- build-oesdk.sh | 1 + lib/oesdk/machine-specific-functions | 10 ++++++++++ 2 files changed, 11 insertions(+)
build-oesdk.sh +1 -0
@@ -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
@@ -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