Run kgzip(8) in a right environment and pass it the correct loader object.
This commit is contained in:
parent
69ceaabdd7
commit
c54fbe8dde
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=110332
@ -1074,7 +1074,8 @@ doMFSKERN:
|
||||
@echo "Setting up /boot directory for ${FSIMAGE} floppy"
|
||||
@mkdir -p ${RD}/image.${FSIMAGE}/boot
|
||||
.if ${TARGET} == "i386"
|
||||
@kgzip -vo ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
|
||||
@${WMAKEENV} kgzip -v -l ${RD}/trees/base/usr/lib/kgzldr.o \
|
||||
-o ${RD}/image.${FSIMAGE}/boot/loader ${RD}/trees/base/boot/loader
|
||||
.elif ${TARGET_ARCH} == "ia64"
|
||||
@cp ${RD}/trees/base/boot/loader.efi ${RD}/image.${FSIMAGE}/boot
|
||||
.else
|
||||
|
Loading…
Reference in New Issue
Block a user