about summary refs log blame commit diff stats
path: root/translate_mu_baremetal
blob: 66b27b231415dc4840d6113715fc994459fb7b6f (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                              
#!/bin/sh
# Translate a given Mu program to 'baremetal', a raw disk image that can boot
# and run without any OS.

set -e

cat $* baremetal/[0-9]*.mu    |apps/mu    > a.subx

./translate_subx_baremetal baremetal/mu-init.subx baremetal/[0-9]*.subx a.subx