acid: remove objchar, prefering foobar.$objtype.acid
acid already sets up objtype for us.
This commit is contained in:
parent
c4679d743a
commit
e37ff43eb6
5 changed files with 4 additions and 6 deletions
|
@ -192,6 +192,4 @@ Ureg(addr) {
|
|||
};
|
||||
sizeofUreg = 184;
|
||||
|
||||
objchar = "6";
|
||||
objtype = "amd64";
|
||||
print("/sys/lib/acid/amd64");
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
include("/sys/src/libthread/sched." + objchar + ".acid");
|
||||
include("/sys/src/libthread/sched." + objtype + ".acid");
|
||||
|
||||
defn labpc(l)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue