c51b268276
* Removed hardware specific implementations * Added simple 'hello world' demo code to be aligned to other targets * Added ability to use external resources from outside JerryScript folder JerryScript-DCO-1.0-Signed-off-by: Roland Takacs roland.takacs@h-lab.eu
39 lines
1.3 KiB
Makefile
39 lines
1.3 KiB
Makefile
# Copyright JS Foundation and other contributors, http://js.foundation
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
|
|
# Default target for running the build test outside the Travis CI environment.
|
|
all:
|
|
$(MAKE) install
|
|
$(MAKE) script
|
|
|
|
|
|
## Targets for installing build dependencies of the Mbed OS 5 JerryScript target.
|
|
|
|
install-mbedos:
|
|
git clone https://github.com/ARMmbed/mbed-os.git ../mbed-os -b mbed-os-5.15
|
|
|
|
# Deploy Mbed and install Mbed Python dependencies.
|
|
install-mbedos-deps:
|
|
pip install mbed-cli
|
|
pip install -r ../mbed-os/requirements.txt
|
|
|
|
install: install-mbedos install-mbedos-deps
|
|
|
|
## Targets for building Mbed OS 5 with JerryScript.
|
|
|
|
# Build the firmware (Mbed OS 5 with JerryScript).
|
|
script:
|
|
$(MAKE) -C targets/os/mbedos5 BOARD=K64F MBED_OS_DIR=$(realpath ../mbed-os)
|