mirror of
https://github.com/DoctorWkt/unix-jun72.git
synced 2026-01-13 15:27:49 +00:00
- use patches instead of sed hacks. - comments for all patches, and each one separated. - apply patches as part of "rebuild" instead of in assemv7.
24 lines
544 B
Bash
Executable File
24 lines
544 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# assemble the sources
|
|
#
|
|
|
|
# settings; should contain something like:
|
|
# APOUT=/tmp/apout2.3alpha2/apout
|
|
# APOUT_ROOT=/tmp/v7
|
|
. tools/assemv7.cfg
|
|
|
|
export APOUT_ROOT
|
|
|
|
# build sources from pages and generate patched sources in "build"
|
|
# if "cold" is passed in, the "cold" option will be patched on.
|
|
tools/rebuild "$@"
|
|
|
|
# assemble the kernel from patched sources and generate symbols
|
|
# and build a simh loadable file.
|
|
cd build
|
|
$APOUT $APOUT_ROOT/bin/as ../sys1.s u?.s
|
|
$APOUT $APOUT_ROOT/bin/nm a.out |sort > a.out.syms
|
|
../tools/ml
|
|
|