1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
19599: examples/wasm/wasm_sample: revert prebuild WASM r=kfessel a=maribu

### Contribution description

Running `make` in the wasm example modifies the `hello_prebuild.wasm` example, making it easy to sneak in unwanted changes. This reverts such an instance and modifies the Makefile to only recreate/update `hello_prebuild.wasm` with:

    make hello_prebuild.wasm


Co-authored-by: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
This commit is contained in:
bors[bot] 2023-05-17 12:10:50 +00:00 committed by GitHub
commit 7e59b68a9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -104,6 +104,8 @@ COMPILE_FLAGS := -Wall \
%.wat: %.wasm Makefile
wasm2wat -o $@ $<
hello.wasm:
ifeq ($(COPY_HELLO),YES)
hello.wasm: hello_prebuild.wasm
@echo "!! NO wasm-ld(-VERSION) found !!"