ref: e37ff43eb678d0bf1ba45e957b1f653d1daf3795
parent: c4679d743aa64ff95437a92d17f186eb6758168b
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 20:53:26 EST 2014
acid: remove objchar, prefering foobar.$objtype.acid acid already sets up objtype for us.
--- a/sys/lib/acid/amd64
+++ b/sys/lib/acid/amd64
@@ -192,6 +192,4 @@
};
sizeofUreg = 184;
-objchar = "6";
-objtype = "amd64";
print("/sys/lib/acid/amd64");
--- a/sys/lib/acid/leak
+++ b/sys/lib/acid/leak
@@ -1,7 +1,7 @@
//
// usage: acid -l pool -l leak
//
-include("/sys/src/libc/port/pool." + objchar + ".acid");
+include("/sys/src/libc/port/pool." + objtype + ".acid");
defn
dumppool(p, sum)
--- a/sys/lib/acid/pool
+++ b/sys/lib/acid/pool
@@ -1,4 +1,4 @@
-include("/sys/src/libc/port/pool." + objchar + ".acid");
+include("/sys/src/libc/port/pool." + objtype + ".acid");
aggr Byte {
'b' 0 byte;
--- a/sys/lib/acid/thread
+++ b/sys/lib/acid/thread
@@ -1,4 +1,4 @@
-include("/sys/src/libthread/sched." + objchar + ".acid");
+include("/sys/src/libthread/sched." + objtype + ".acid");
defn labpc(l)
{
--- a/sys/src/cmd/mksyslib
+++ b/sys/src/cmd/mksyslib
@@ -37,7 +37,7 @@
rm -f *.[$OS] [$OS].out $CLEANFILES $LIB
%.acid:V:
- $CC $CFLAGS -a `{basename $stem .$O}^.c >$target
+ $CC $CFLAGS -a `{basename $stem .$objtype}^.c >$target
update:V:
update $UPDATEFLAGS $UPDATE