Skip to content
Snippets Groups Projects
Verified Commit 1a693480 authored by rahix's avatar rahix
Browse files

fix(micropython): Remove previous QSTRs to ensure correct output


Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 19f4cfe9
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@ ln -sfr "$OUTPUT" "$OUTPUT_DIR/genhdr/$(basename "$OUTPUT")"
# call gcc -E to generate qstr.i.last
gcc -E -DNO_QSTR -I"$SOURCE_DIR/micropython" -I"$PROJECT_SRC" -I"$OUTPUT_DIR" "$@" >"$OUTPUT_DIR/qstr.i.last"
# Remove previous artifacts
rm -rf "$OUTPUT_DIR/qstr"
# Generate qstr.split
"$PYTHON" "$SOURCE_DIR/micropython/py/makeqstrdefs.py" split \
"$OUTPUT_DIR/qstr.i.last" "$OUTPUT_DIR/qstr" "$OUTPUT_DIR/qstrdefs.collected.h" >/dev/null
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment