summaryrefslogtreecommitdiff
path: root/ybd.py
diff options
context:
space:
mode:
authorPaul Sherwood <paul.sherwood@codethink.co.uk>2015-04-02 13:59:18 +0000
committerPaul Sherwood <paul.sherwood@codethink.co.uk>2015-04-02 17:53:14 +0000
commite13abe1cbaf4fe86c3e59ae7a0cea35c9f0f6ec9 (patch)
treea1fa3fcdd473a8cced9d39d64486fdfb60833019 /ybd.py
parent430ee49852b9e52833a30c099a1e6f717b54fd00 (diff)
downloadybd-e13abe1cbaf4fe86c3e59ae7a0cea35c9f0f6ec9.tar.gz
Revert "Define morph: to path: to handle multiple definitions properly"
This reverts commit 430ee49852b9e52833a30c099a1e6f717b54fd00. The main problem with this approach was/is that it can't deal with understanding a chunk's dependencies in isolation, so it can only be run on systems
Diffstat (limited to 'ybd.py')
-rwxr-xr-xybd.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/ybd.py b/ybd.py
index cffb6c3..feeb684 100755
--- a/ybd.py
+++ b/ybd.py
@@ -27,12 +27,11 @@ import app
from assembly import assemble
import sandbox
-target = sys.argv[1]
+target = os.path.splitext(os.path.basename(sys.argv[1]))[0]
arch = sys.argv[2]
with app.setup(target, arch):
with app.timer('TOTAL', 'YBD starts'):
- defs = Definitions(target)
with app.timer('CACHE-KEYS', 'Calculating'):
cache.get_cache(target)
- defs.save_trees()
+ Definitions().save_trees()
assemble(target)