Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
lwc
/
compare
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Pipelines
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
32b39542
authored
Jul 21, 2019
by
Enrico Pozzobon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
f7 working i don't know what I did
parent
0880f2d3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
2 deletions
+15
-2
compile_all.py
+6
-0
templates/f7/Makefile
+2
-2
templates/f7/cleanup
+5
-0
templates/f7/configure
+2
-0
No files found.
compile_all.py
View file @
32b39542
...
@@ -64,6 +64,12 @@ def build(algo_dir, template_dir, build_dir):
...
@@ -64,6 +64,12 @@ def build(algo_dir, template_dir, build_dir):
p
.
wait
()
p
.
wait
()
assert
p
.
returncode
==
0
assert
p
.
returncode
==
0
if
os
.
path
.
isfile
(
'./cleanup'
):
p
=
subprocess
.
Popen
([
"./cleanup"
])
p
.
wait
()
assert
p
.
returncode
==
0
finally
:
finally
:
sys
.
stdout
.
flush
()
sys
.
stdout
.
flush
()
sys
.
stderr
.
flush
()
sys
.
stderr
.
flush
()
...
...
templates/f7/Makefile
View file @
32b39542
...
@@ -20,9 +20,9 @@ TARGET = f7
...
@@ -20,9 +20,9 @@ TARGET = f7
# building variables
# building variables
######################################
######################################
# debug build?
# debug build?
DEBUG
=
1
DEBUG
=
0
# optimization
# optimization
OPT
=
-O
g
OPT
=
-O
2
#######################################
#######################################
...
...
templates/f7/cleanup
0 → 100755
View file @
32b39542
#!/bin/bash
rm
-rf
./Drivers/
rm build/
*
.o
rm build/
*
.d
rm build/
*
.lst
templates/f7/configure
View file @
32b39542
#!/bin/bash
#!/bin/bash
mv
-n
*
.inc
*
.h Inc/
mv
-n
*
.inc
*
.h Inc/
sed
-i
src/encrypt.c
-e
"s/
\(\s\)
init(/
\1
_init(/g"
sed
-i
src/encrypt.c
-e
"s/
\(\s\)
init(/
\1
_init(/g"
mkdir
-p
/tmp/f7/Drivers
ln
-s
/tmp/f7/Drivers Drivers
exit
0
exit
0
Write
Preview
Markdown
is supported
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