URL
https://opencores.org/ocsvn/c0or1k/c0or1k/trunk
Subversion Repositories c0or1k
Compare Revisions
- This comparison shows the changes necessary to convert path
/c0or1k/trunk
- from Rev 3 to Rev 4
- ↔ Reverse comparison
Rev 3 → Rev 4
/clean.py
0,0 → 1,22
#! /usr/bin/env python2.6 |
# -*- mode: python; coding: utf-8; -*- |
import os, sys, shelve, shutil |
|
build_dir = "./build" |
# clean the kernel |
print "\n### Cleaning the kernel..." |
os.system("scons -c") |
|
# clean user libraries |
print "\n### Cleaning user libraries..." |
os.system("scons -f SConstruct.userlibs -c") |
|
# clean the loader (the packer around kernel.elf) |
print "\n### Cleaning the loader..." |
os.system("scons -f SConstruct.loader -c") |
|
# remove build dir |
if os.path.exists(build_dir): |
print "\n### Removing build directory..." |
shutil.rmtree(build_dir) |
|
clean.py
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property