diff options
| author | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:20:53 +0200 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2016-04-10 20:20:53 +0200 |
| commit | 1069d018c99fc394597f08f8f737a1e5ddb5179e (patch) | |
| tree | 69b94bb227d6d5a741b8d5443ffe668e454a77fe | |
| parent | 0ac4a447b05b7ebcd291000706d9d3dbb593fa11 (diff) | |
| download | plan9front-1069d018c99fc394597f08f8f737a1e5ddb5179e.tar.xz | |
libmp: fix build for spim, reduce by the mips assembly files
| -rw-r--r-- | sys/src/libmp/port/mkfile | 4 |
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\ |
