mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-22 03:04:34 +01:00
Fix incremental build with WITH_NVME newly enabled
rescue.mk doesn't get updated when options change so nvme_util.o is now
missing on architectures were NVME was previously marked BROKEN.
Reviewed by: imp
Fixes: 2fda3ab0ac
WITH_NVME: Remove from broken.
Differential Revision: https://reviews.freebsd.org/D44826
This commit is contained in:
parent
ee632fb9eb
commit
26a09db3ad
@ -228,3 +228,10 @@ if [ ${MACHINE} != i386 -a -f "$OBJTOP"/lib/libsys/.depend.syscall.o ] && \
|
||||
clean_dep lib/libsys syscall S
|
||||
clean_dep lib/libc syscall S
|
||||
fi
|
||||
|
||||
# 20240416 2fda3ab0ac19 WITH_NVME: Remove from broken
|
||||
if [ -f "$OBJTOP"/rescue/rescue/rescue.mk ] && \
|
||||
grep -q -v 'nvme_util.o' "$OBJTOP"/rescue/rescue/rescue.mk; then
|
||||
echo "removing rescue.mk without nvme_util.o"; then
|
||||
rm -f "$OBJTOP"/rescue/rescue/rescue.mk
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user