Embed a simplistic version of the dokern.sh script directly into

release/Makefile.

Reviewed by:	marcel

The original patch also removed ia64/dokern.sh, but this was OBE.
This commit is contained in:
Ruslan Ermilov 2003-07-30 07:40:45 +00:00
parent c41387f6b2
commit f2eeb85de6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118200
2 changed files with 7 additions and 9 deletions

View File

@ -1029,9 +1029,13 @@ installCRUNCH:
doMFSKERN:
@echo "Running ${.TARGET} for ${FSIMAGE}"
@rm -f ${RD}/kernels/BOOTMFS ${RD}/kernels/BOOTMFS.${FSIMAGE}
@cd ${.CURDIR}/../sys/${TARGET}/conf && \
sh ${.CURDIR}/${TARGET}/dokern.sh ${FDSIZE} < GENERIC > BOOTMFS && \
[ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints
@cd ${.CURDIR}/../sys/${TARGET}/conf; \
if [ -r ${.CURDIR}/${TARGET}/dokern.sh ]; then \
sh ${.CURDIR}/${TARGET}/dokern.sh ${FDSIZE}; \
else \
sed -e 's/ident.*GENERIC/ident BOOTMFS/g'; \
fi < GENERIC > BOOTMFS; \
[ -r GENERIC.hints ] && cp GENERIC.hints BOOTMFS.hints
.if defined(FDSIZE) && ${FDSIZE} == "SMALL" && \
exists(${.CURDIR}/${TARGET}/drivers-small.conf)
@awk -f ${.CURDIR}/scripts/driver-remove.awk \

View File

@ -1,6 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
sed -e 's/ident.*GENERIC/ident BOOTMFS/g'