diff options
-rw-r--r-- | release/Makefile | 10 | ||||
-rw-r--r-- | release/sparc64/dokern.sh | 6 |
2 files changed, 7 insertions, 9 deletions
diff --git a/release/Makefile b/release/Makefile index 92a6888..703848b 100644 --- a/release/Makefile +++ b/release/Makefile @@ -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 \ diff --git a/release/sparc64/dokern.sh b/release/sparc64/dokern.sh deleted file mode 100644 index 5882014..0000000 --- a/release/sparc64/dokern.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -sed -e 's/ident.*GENERIC/ident BOOTMFS/g' |