Skip to content

Commit

Permalink
Makefile.inc1: Ensure etc installs last for -DNO_ROOT
Browse files Browse the repository at this point in the history
Otherwise makewhatis can be run too early for -DNO_ROOT builds. This
makes use of the CheriBSD-specific SUBDIR_INSTALL_USE_DEPENDS option
until the dodginess has been resolved upstream, as is already done for
libexec's installing of libcompat rtld-elf variants.
  • Loading branch information
jrtc27 authored and bsdjhb committed Feb 2, 2024
1 parent e221444 commit 4c887c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile.inc1
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ SUBDIR+= tools/cheribsdbox
# installed.
.if make(installworld) || make(install) || make(installsysroot)
SUBDIR+=.WAIT
SUBDIR_INSTALL_USE_DEPENDS=
.endif
.if !defined(SYSROOT_ONLY)
SUBDIR+=etc
Expand Down

0 comments on commit 4c887c2

Please sign in to comment.