fa1fbfedc2
at runtime and to support distributing additional kernels: o remove kernel from the base tarball o add new kernel tarballs o build + package both SMP and GENERIC kernels when an <arch>/conf/SMP config file is present o add sysinstall support for multiple kernels o update sysinstall to probe for the number of cpus on a system and auto-select smp/up kernel accordingly o add a post-kernels install hook to fixup /boot/kernel o add -ldevinfo to boot crunch for sysinstall's cpu probing logic Notes: 1. On HEAD this code is not currently used because GENERIC kernels include SMP. This work is mainly intended for RELENG_6 where the GENERIC kernel is UP. If HEAD changes to match then just enable WITH_SMP in sysinstall/Makefile. 2. The cpu probing support is done with acpi and MPTable; this means some systems will require work for auto-detection to work. 3. The handling of /boot/kernel may need to be revisited; for now we rename one kernel at the last moment (SMP if installed, otherwise GENERIC). There are other, possibly better, approaches. Lots of help from ru, emaste, scottl, and jhb.
47 lines
704 B
Plaintext
47 lines
704 B
Plaintext
# $FreeBSD$
|
|
|
|
buildopts -DRELEASE_CRUNCH -Dlint
|
|
|
|
srcdirs /usr/src/bin
|
|
progs hostname
|
|
progs pwd
|
|
progs rm
|
|
progs sh
|
|
progs test
|
|
ln sh -sh
|
|
ln test [
|
|
|
|
srcdirs /usr/src/gnu/usr.bin
|
|
progs cpio
|
|
|
|
srcdirs /usr/src/sbin
|
|
progs camcontrol
|
|
progs dhclient
|
|
progs fsck_ffs
|
|
progs gpt
|
|
progs ifconfig
|
|
progs mount_msdosfs
|
|
progs mount_nfs
|
|
progs newfs
|
|
progs newfs_msdos
|
|
progs route
|
|
progs rtsol
|
|
progs tunefs
|
|
|
|
srcdirs /usr/src/usr.bin
|
|
progs find
|
|
progs minigzip
|
|
progs sed
|
|
ln minigzip gzip
|
|
ln minigzip gunzip
|
|
ln minigzip zcat
|
|
|
|
srcdirs /usr/src/usr.sbin
|
|
progs arp
|
|
progs ppp
|
|
progs sysinstall
|
|
progs usbdevs
|
|
|
|
libs -ll -ledit -lutil -lmd -lcrypt -lftpio -lz -lnetgraph
|
|
libs -ldialog -lncurses -ldisk -lcam -lkiconv -lsbuf -lufs -ldevinfo
|