This repository has been archived on 2023-11-05. You can view files and clone it, but cannot push or open issues or pull requests.
wasm-micro-runtime/samples/littlevgl/wasm-apps/build_wasm_app.sh

21 lines
463 B
Bash
Raw Normal View History

# Copyright (C) 2019 Intel Corporation. All rights reserved.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
#!/bin/sh
WAMR_DIR=${PWD}/../../..
if [ -z $KW_BUILD ] || [ -z $KW_OUT_FILE ];then
echo "Local Build Env"
makewrap="make"
else
echo "Klocwork Build Env"
makewrap="kwinject -o $KW_OUT_FILE make"
fi
if [ ! -d "lvgl" ]; then
git clone https://github.com/littlevgl/lvgl.git --branch v5.3
fi
$makewrap -f Makefile_wasm_app