e25cb01d28
/boot/device.hints in the bin dist during releases so that current snapshots have a chance of booting up ok after installing. The real fix for this problem is to rewrite userconfig in Forth, stick it in the loader, axe userconfig from the kernel, and extract the hints from the booted kernel in sysinstall similar to the way we generate /boot/kernel.conf right now. For now, however, this will have to do.
19 lines
439 B
Makefile
19 lines
439 B
Makefile
# $FreeBSD$
|
|
|
|
# The boot loader
|
|
SUBDIR= boot
|
|
|
|
# KLD modules build for both a.out and ELF
|
|
.if defined(MODULES_WITH_WORLD)
|
|
SUBDIR+=modules
|
|
.endif
|
|
|
|
afterdistribute:
|
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
|
${.CURDIR}/${MACHINE_ARCH}/conf/GENERIC.hints \
|
|
${DESTDIR}/boot/device.hints
|
|
|
|
HTAGSFLAGS+= -at `awk -F= '/^RELEASE *=/{release=$2}; END {print "FreeBSD", release, "kernel"}' < conf/newvers.sh`
|
|
|
|
.include <bsd.subdir.mk>
|