acid: remove objchar, prefering foobar.$objtype.acid

acid already sets up objtype for us.
This commit is contained in:
cinap_lenrek 2014-02-10 01:53:26 +01:00
parent c4679d743a
commit e37ff43eb6
5 changed files with 4 additions and 6 deletions

View file

@ -192,6 +192,4 @@ Ureg(addr) {
};
sizeofUreg = 184;
objchar = "6";
objtype = "amd64";
print("/sys/lib/acid/amd64");

View file

@ -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)

View file

@ -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;

View file

@ -1,4 +1,4 @@
include("/sys/src/libthread/sched." + objchar + ".acid");
include("/sys/src/libthread/sched." + objtype + ".acid");
defn labpc(l)
{

View file

@ -37,7 +37,7 @@ nuke:V:
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