include all extra flavors of the kernel and use the proper variable for

the machine dependent installation directory.
This commit is contained in:
christos 2024-05-18 02:03:17 +00:00
parent e4214c824f
commit 3c6141f6f3
1 changed files with 8 additions and 7 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootimage,v 1.36 2024/05/16 15:46:42 christos Exp $ # $NetBSD: Makefile.bootimage,v 1.37 2024/05/18 02:03:17 christos Exp $
# #
# Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved. # Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved.
# #
@ -433,12 +433,13 @@ ${TARGETFS}: prepare_md_post ${WORKFSTAB}
.if defined(SPEC_EXTRA) .if defined(SPEC_EXTRA)
cat ${SPEC_EXTRA} >> ${WORKSPEC} cat ${SPEC_EXTRA} >> ${WORKSPEC}
.endif .endif
if [ -f ${WORKDIR}/netbsd.gdb ]; then \ for i in ${WORKDIR}/netbsd.*; do \
echo "./netbsd.gdb type=file uname=root gname=wheel mode=0444" \ if [ -e $$i ]; then \
>> ${WORKSPEC}; \ echo "./$$(basename $$i) type=file uname=root gname=wheel mode=0444" >> ${WORKSPEC}; \
fi fi; \
if [ -d ${WORKDIR}/${MACHINE} ]; then \ done
${MAKESPEC} -d ${WORKDIR} ${MACHINE} >> ${WORKSPEC}; \ if [ -d ${WORKDIR}/${RELEASEMACHINEDIR} ]; then \
${MAKESPEC} -d ${WORKDIR} ${RELEASEMACHINEDIR} >> ${WORKSPEC}; \
fi fi
@echo Creating rootfs... @echo Creating rootfs...
# XXX /var/spool/ftp/hidden is unreadable # XXX /var/spool/ftp/hidden is unreadable