Commit 32b39542 by Enrico Pozzobon

f7 working i don't know what I did

parent 0880f2d3
...@@ -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()
......
...@@ -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 = -Og OPT = -O2
####################################### #######################################
......
#!/bin/bash
rm -rf ./Drivers/
rm build/*.o
rm build/*.d
rm build/*.lst
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment