#!/bin/bash
#
# BASH
#
# Copyright 2021-2025 MicroEJ Corp. All rights reserved.
# MicroEJ Corp. PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.

# 'build.sh' is responsible for producing the executable file 
# then copying this executable file to the current directory where it has been executed to a file named 'application.out'

set -e

EXECUTION_DIR=$(pwd)

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

# Change dir to Zephyr root dir
cd ${SCRIPT_DIR}/../../sdk/

chmod +x zephyr/tools/utils/linux-x86_64/make_sdfs
bash ./build.sh

