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;
|
sizeofUreg = 184;
|
||||||
|
|
||||||
objchar = "6";
|
|
||||||
objtype = "amd64";
|
|
||||||
print("/sys/lib/acid/amd64");
|
print("/sys/lib/acid/amd64");
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
//
|
//
|
||||||
// usage: acid -l pool -l leak
|
// usage: acid -l pool -l leak
|
||||||
//
|
//
|
||||||
include("/sys/src/libc/port/pool." + objchar + ".acid");
|
include("/sys/src/libc/port/pool." + objtype + ".acid");
|
||||||
|
|
||||||
defn
|
defn
|
||||||
dumppool(p, sum)
|
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 {
|
aggr Byte {
|
||||||
'b' 0 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)
|
defn labpc(l)
|
||||||
{
|
{
|
||||||
|
|
|
@ -37,7 +37,7 @@ nuke:V:
|
||||||
rm -f *.[$OS] [$OS].out $CLEANFILES $LIB
|
rm -f *.[$OS] [$OS].out $CLEANFILES $LIB
|
||||||
|
|
||||||
%.acid:V:
|
%.acid:V:
|
||||||
$CC $CFLAGS -a `{basename $stem .$O}^.c >$target
|
$CC $CFLAGS -a `{basename $stem .$objtype}^.c >$target
|
||||||
|
|
||||||
update:V:
|
update:V:
|
||||||
update $UPDATEFLAGS $UPDATE
|
update $UPDATEFLAGS $UPDATE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue