Skip to content

Commit dfc9da6

Browse files
committed
Makefile: Fix ordering for (update-)packages
The (update-)packages targets require buildworld and buildkernel to run first. Add some .ORDER statements to ensure this happens. This fixes 'make -j8 buildworld buildkernel packages'. PR: 289969 Reported by: yasu MFC after: 3 days Reviewed by: yasu, emaste Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D52877
1 parent a22f8bd commit dfc9da6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ META_TGT_WHITELIST+= build${libcompat}
219219
.ORDER: buildworld distribute
220220
.ORDER: buildworld distributeworld
221221
.ORDER: buildworld buildkernel
222+
.ORDER: buildworld packages
223+
.ORDER: buildworld update-packages
222224
.ORDER: distrib-dirs distribute
223225
.ORDER: distrib-dirs distributeworld
224226
.ORDER: distrib-dirs installworld
@@ -232,6 +234,8 @@ META_TGT_WHITELIST+= build${libcompat}
232234
.ORDER: buildkernel installkernel.debug
233235
.ORDER: buildkernel reinstallkernel
234236
.ORDER: buildkernel reinstallkernel.debug
237+
.ORDER: buildkernel packages
238+
.ORDER: buildkernel update-packages
235239
.ORDER: kernel-toolchain buildkernel
236240

237241
# Only sanitize PATH on FreeBSD.

0 commit comments

Comments
 (0)