mirror of
https://github.com/bytecodealliance/wasm-micro-runtime.git
synced 2024-11-26 23:42:05 +00:00
24 lines
566 B
Python
24 lines
566 B
Python
#
|
|
# Copyright (c) 2021, RT-Thread Development Team
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
#
|
|
|
|
# for module compiling
|
|
import os
|
|
|
|
from building import *
|
|
|
|
objs = []
|
|
cwd = GetCurrentDir()
|
|
list = os.listdir(cwd)
|
|
|
|
if GetDepend(['PKG_USING_WAMR']):
|
|
wamr_entry_sconscript = os.path.join(cwd, "product-mini", "platforms", "rt-thread", 'SConscript')
|
|
wamr_runlib_sconscript = os.path.join(cwd, "build-scripts", 'SConscript')
|
|
|
|
objs = objs + SConscript(wamr_entry_sconscript)
|
|
objs = objs + SConscript(wamr_runlib_sconscript)
|
|
|
|
Return('objs')
|