symbols into locals, but relocs are left in place (rather than attempting
to resolve-in-place with "ld -r", even with "-Bsymbolic").
Standard MIPS code will generate CALL16 relocs for function calls, but
the linker forbids such relocs from being used to call local symbols (such
as those turned "local" by objcopy). So, rather than battle the toolchain
uphill, work around it for the moment by forcing 32-bit GOT references with
the assembler option "-xgot".
This will be fixed in a more clean manner in the future.
MDEXTRA_SUFFIXES.${KERNEL} -> MDSET.${FILENAME}.suffixes
${KERNEL.${_K}}.post -> MDSET.${FILENAME}.post
This allows "default" rules for for MDSETTARGETS with FILENAMEs of "-"
by defined MDSET.-.post & MDSET.-.suffixes
- Document the above
- Use the above appropriately in various Makefiles
- Be a be quieter when building these kernels
- Add .WAIT syncs so that multiple kernels aren't built in parallel, because
the temporary filename is the same, and it also avoid hairy magic in
syncing the targets generated from MDSET.${FILENAME}.suffixes with
the master target for that ${FILENAME}
dependent files:
- Use infrastructure from distrib/common to build file system images with
crunchgen-ed programs from a list file.
- Non root ("UNPRIVED") builds from a read-only source tree are possible,
as makefs(8) replaces vnconfig(8)/vnd use, devices are generated using
common/makedev2spec.awk, etc.
- Cross builds should be possible, except that some ports need cross-compile
host tool versions of installboot and any appropriate host disk labelling
tools.
XXX: pmax, sparc and vax need fixing for this!
- This code has NOT YET BEEN TESTED on most of the ports.
It should work, but it is extremely likely that the file system
parameters may need tweaking to get things to fit.
See MAKEFS_FLAGS in sparc/miniroot/Makefile.inc for an example.
If assistance is required, please ask!
detect a 'miniroot' disklabel. Booting from the diskimage will now get
the real disk geometry and adjust the incore disklabel parameters
accordingly.
Also revert back to using a prototype file - disklabel truncates the
disktype to 15 characters when using the disktab entry, but will use 16
characters when using the prototype file.
files have copyright held by people in addition to myself. (I did the
original work, they copied it, enhanced it, and added their copyright
to the derivative work.) Their approval has been given re: the license
change.