Revert r333493, which was a temporary fix for 11.2-RELEASE, and instead
switch the default kldxref_enable to YES. The reason is that it's required for every image that's being cross-built, as kldxref(8) cannot handle files for non-native architectures. For the one that is not - amd64 - having it on by default doesn't change anything; the script is noop if the linker.hints already exists. MFC after: 2 weeks Sponsored by: DARPA, AFRL
This commit is contained in:
parent
73d1ecdc98
commit
a4ccdf9091
@ -43,7 +43,7 @@ devd_enable="YES" # Run devd, to trigger programs on device tree changes.
|
||||
devd_flags="" # Additional flags for devd(8).
|
||||
devmatch_enable="YES" # Demand load kernel modules based on device ids.
|
||||
#kld_list="" # Kernel modules to load after local disks are mounted
|
||||
kldxref_enable="NO" # Build linker.hints files with kldxref(8).
|
||||
kldxref_enable="YES" # Build linker.hints files with kldxref(8).
|
||||
kldxref_clobber="NO" # Overwrite old linker.hints at boot.
|
||||
kldxref_module_path="" # Override kern.module_path. A ';'-delimited list.
|
||||
powerd_enable="NO" # Run powerd to lower our power usage.
|
||||
|
@ -122,7 +122,6 @@ arm_install_base() {
|
||||
echo 'sendmail_outbound_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
|
||||
echo 'sendmail_msp_queue_enable="NO"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
|
||||
echo 'growfs_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
|
||||
echo 'kldxref_enable="YES"' >> ${CHROOTDIR}/${DESTDIR}/etc/rc.conf
|
||||
|
||||
sync
|
||||
umount_loop ${CHROOTDIR}/${DESTDIR}
|
||||
|
Loading…
Reference in New Issue
Block a user