1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

examples/wasm/wasm_sample: revert prebuild WASM

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
This commit is contained in:
Marian Buschsieweke 2023-05-16 21:40:43 +02:00
parent 91f8d0490a
commit f6c7234e39
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94
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 !!"