Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2233,6 +2233,15 @@ bootfs_dep += $(out)/modules/libext/libext.so
else
ifeq ($(fs),zfs)
bootfs_dep += $(tools:%=$(out)/%) $(out)/libsolaris.so
else
ifeq ($(fs),ramfs)
# For fs=ramfs, scripts/build passes $(out)/usr.manifest as the bootfs manifest,
# and that manifest is generated from usr_ramfs.manifest.skel, which lists
# tools/mount/mount-fs.so and tools/mount/umount.so. Without these the very
# first build of a fresh tree races: mkbootfs.py stats a tool nothing ordered
# and dies with FileNotFoundError.
bootfs_dep += $(out)/tools/mount/mount-fs.so $(out)/tools/mount/umount.so
endif
endif
endif
$(out)/bootfs.bin: $(bootfs_dep)
Expand Down