mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-01 08:33:24 +00:00
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:
parent
c41387f6b2
commit
f2eeb85de6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118200
@ -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 \
|
||||
|
@ -1,6 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
sed -e 's/ident.*GENERIC/ident BOOTMFS/g'
|
Loading…
Reference in New Issue
Block a user