store additional files with builds (flake/startup/linkerscript/...)
This commit is contained in:
@ -53,8 +53,7 @@ CROSS_WAMRCFLAGS := "\
|
||||
--target=i386 \
|
||||
--cpu=generic \
|
||||
--opt-level=0 \
|
||||
--enable-indirect-mode \
|
||||
--disable-llvm-intrinsics \
|
||||
--xip \
|
||||
"
|
||||
LINUX_WAMRCFLAGS := "\
|
||||
--target=i386 \
|
||||
@ -131,7 +130,14 @@ build-c-module module target="fail":
|
||||
fi
|
||||
|
||||
[private]
|
||||
copy-c-module module:
|
||||
copy-auxiliary module:
|
||||
cp flake.nix {{ BUILD_DIR }}-{{ module }}/flake.nix
|
||||
cp scripts/runner.pl {{ BUILD_DIR }}-{{ module }}/runner.pl
|
||||
cp scripts/wasm.just {{ BUILD_DIR }}-{{ module }}/wasm.just
|
||||
cp targets/lib.h {{ BUILD_DIR }}-{{ module }}/lib.h
|
||||
cp targets/linker.ld {{ BUILD_DIR }}-{{ module }}/linker.ld
|
||||
cp targets/startup.s {{ BUILD_DIR }}-{{ module }}/startup.s
|
||||
cp targets/syscalls.c {{ BUILD_DIR }}-{{ module }}/syscalls.c
|
||||
cp targets/wasm-module/{{ module }}.cpp {{ BUILD_DIR }}-{{ module }}/wasm-module.cpp
|
||||
|
||||
# =================================================================================================================== #
|
||||
|
||||
Reference in New Issue
Block a user