Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
François Revol
firmware
Commits
1a693480
Verified
Commit
1a693480
authored
Jul 04, 2019
by
Rahix
Browse files
fix(micropython): Remove previous QSTRs to ensure correct output
Signed-off-by:
Rahix
<
rahix@rahix.de
>
parent
19f4cfe9
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/micropython/gen-qstr.sh
View file @
1a693480
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment