summaryrefslogtreecommitdiff
path: root/sys/src/libmp
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-04-10 20:20:53 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-04-10 20:20:53 +0200
commit1069d018c99fc394597f08f8f737a1e5ddb5179e (patch)
tree69b94bb227d6d5a741b8d5443ffe668e454a77fe /sys/src/libmp
parent0ac4a447b05b7ebcd291000706d9d3dbb593fa11 (diff)
libmp: fix build for spim, reduce by the mips assembly files
Diffstat (limited to 'sys/src/libmp')
-rw-r--r--sys/src/libmp/port/mkfile4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/src/libmp/port/mkfile b/sys/src/libmp/port/mkfile
index 547b259eb..9aaad2d80 100644
--- a/sys/src/libmp/port/mkfile
+++ b/sys/src/libmp/port/mkfile
@@ -45,7 +45,9 @@ FILES=\
ALLOFILES=${FILES:%=%.$O}
# cull things in the per-machine directories from this list
-OFILES= `{rc ./reduce $O $objtype $ALLOFILES}
+OFILES= `{rfork e; \
+ if(~ $objtype spim) objtype=mips; \
+ rc ./reduce $O $objtype $ALLOFILES}
HFILES=\
/$objtype/include/u.h\