diff options
Diffstat (limited to 'mk/netbsd/b.sh')
| -rw-r--r-- | mk/netbsd/b.sh | 9 |
1 files changed, 9 insertions, 0 deletions
| diff --git a/mk/netbsd/b.sh b/mk/netbsd/b.sh new file mode 100644 index 0000000..6a4251c --- /dev/null +++ b/mk/netbsd/b.sh | |||
| @@ -0,0 +1,9 @@ | |||
| 1 | . ./mk.conf | ||
| 2 | set -e | ||
| 3 | |||
| 4 | mkdir $out | ||
| 5 | $as $asflgs -o $netbsd_note_bin $netbsd_note_src | ||
| 6 | $as $asflgs -o $start_bin $start_src | ||
| 7 | $cc $ccflgs -o $main_bin -c $main_src | ||
| 8 | $ld $ldflgs -T $ld_netbsd_cfg -o $bin $netbsd_note_bin $start_bin $main_bin | ||
| 9 | $ln $lnflgs $bin $bin_ln | ||
