projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd8008b
)
add header to autogenerated file on its origin
author
Johann Glaser
<Johann.Glaser@gmx.at>
Sun, 17 Mar 2013 21:02:46 +0000
(22:02 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Mon, 18 Mar 2013 06:28:31 +0000
(07:28 +0100)
passes/techmap/Makefile.inc
patch
|
blob
|
history
diff --git
a/passes/techmap/Makefile.inc
b/passes/techmap/Makefile.inc
index ba365525d53993cb57e1c9eeb8857b39eaf30569..2e90215e19113e7f1c9dc564f406ebbde559332d 100644
(file)
--- a/
passes/techmap/Makefile.inc
+++ b/
passes/techmap/Makefile.inc
@@
-3,8
+3,10
@@
GENFILES += passes/techmap/stdcells.inc
OBJS += passes/techmap/techmap.o
passes/techmap/stdcells.inc: techlibs/stdcells.v
+ echo -n "// autogenerated from $< on " > $@.new
+ LANG=C date >> $@.new
od -v -td1 -w1 $< | awk 'BEGIN { print "static char stdcells_code[] = {"; } $$2 != "" { print $$2 ","; } \
- END { print 0 "};"; }' | fmt > $@.new
+ END { print 0 "};"; }' | fmt >
>
$@.new
mv $@.new $@
passes/techmap/techmap.o: passes/techmap/stdcells.inc