diff options
| author | Druid520 <r.ustydruid520@proton.me> | 2026-08-17 15:57:04 -0700 |
|---|---|---|
| committer | Druid520 <r.ustydruid520@proton.me> | 2026-08-17 15:57:04 -0700 |
| commit | fd9e51b838f454894940940110f2f18bedf5e621 (patch) | |
| tree | 243b90e4357790d23d8eb5c33fa7a70681148034 /mk | |
| parent | 26cd873573383282476e5aaddea240effede6519 (diff) | |
MOD: improve charge and update.
Diffstat (limited to 'mk')
| -rw-r--r-- | mk/linux/b.sh (renamed from mk/b.sh) | 3 | ||||
| -rw-r--r-- | mk/netbsd/b.sh | 9 |
2 files changed, 10 insertions, 2 deletions
| diff --git a/mk/b.sh b/mk/linux/b.sh index d8b27d5..c9b9b04 100644 --- a/mk/b.sh +++ b/mk/linux/b.sh | |||
| @@ -2,8 +2,7 @@ | |||
| 2 | set -e | 2 | set -e |
| 3 | 3 | ||
| 4 | mkdir $out | 4 | mkdir $out |
| 5 | $as $asflgs -o $note_bin $note_src | ||
| 6 | $as $asflgs -o $start_bin $start_src | 5 | $as $asflgs -o $start_bin $start_src |
| 7 | $cc $ccflgs -o $main_bin -c $main_src | 6 | $cc $ccflgs -o $main_bin -c $main_src |
| 8 | $ld $ldflgs -o $bin $note_bin $start_bin $main_bin | 7 | $ld $ldflgs -T $ld_linux_cfg -o $bin $start_bin $main_bin |
| 9 | $ln $lnflgs $bin $bin_ln | 8 | $ln $lnflgs $bin $bin_ln |
| 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 | ||
